Alright so, I am trying to make some textures/tiles for maptools, and I have so far done the first half right, I made the LOOK like textures/tiles. Now the only problem is, each and every one of them has a white or black background. So in order to correct that, I downloaded GIMP. Now the NEW issue is, I read the manuel to gimp, followed the instructions, and yet still cannot make the textures/tiles backgrounds transparent (or topdown or w/e it's called)
So please, help. How do I make things backgrounds transparent on Gimp? (The simpler you can make it sound, the better. :p)
File -> New
Originally Posted by DMTibernius
- Advanced Options
Fill with: Transparency
Set the image size how you want it to be.
Hit OK, then paste the image.
Fuzzy Select Tool (hit U on your keyboard), select the white/black area, hit your delete key.
Save as PNG or GIF.
I'm not sure if there's a faster way to do it, I usually use PaintNET for simple stuff.
*latches onto cucumber* *Hugs the FROCK out of him*
Sorry man, but yeah. This "little" issue has kept me awake for 2 days now (well that, and my insomnia) and had me going out of my mind on what NOW became a SIMPLE task.
So thankyou, thankyou, thankyou.... and also, by the way, THANK YOU!!!!
Happy to be a member here at the cartographers guild.
You can give him some rep with the little scales icon - which I shall do now too...
A little more streamlined is to just load the image, the right click on the "blackground layer" and use "Add Alpha Channel" then continue with the fuzzy select tool steps.
A small tip (which I didn't realize for years) is that any layer name in bold has NO alpha channel (no transparency) and non-bold layers have an alpha channel (potentially has transparency)!
If you select and delete a layer without transparency it is filled with the current BG colour, if it has transparency it is set transparent. The interesting side effect of this is you can use the eraser tool with the Alt key held down (or shift alt on some systems) and "anti-erase" or change the alpha (transparency) so that the erased stuff reappears!
You can also use Layer-Transparency->Set Colour to Transparency with the colour select set to either white or black to get the backgrounds to be properly transparent. This works particularly well after using fuzzy select with feathered edges.
Be careful with that, however, as will take ALL the white out of the image and turn it transparent, so anything white will be transparent, and anything partially white (i.e. grey) will end up black and partially transparent!
Originally Posted by torstan
Ah, I think you've misunderstood what I meant there. The steps I'd recommend are:
1. Use fuzzy select with feathered edges to get a pretty good selection of your background.
2. Use colour to alpha from the Layer->Transparency->Colour to Alpha menu option.
The advantage of using colour to alpha is that you can vary the threshold on your fuzzy select, but you'll never completely get rid of any colours you accidentally select. I find it gives me the smoothest edges when cropping images out to use as tokens.
I entirely agree that using colour to alpha on the whole layer is a bad idea and definitely to be avoided.
I see - colour to alpha on the fuzzily selected area. Exactly. In truth, that I often do is duplicate the layer, fuzzy select the BG colour of the bottom layer, grow the selection a few pixels (especially if there is a drop shadow/omni shadow) then clear, on the top layer duplicate do a colour to alpha on the whole image using the BG colour, then merge the two layers. A little script might be useful with parameters for the fuzzy selection amount, the pixel grow size, and a colour picker for the BG.
Actually that would be a great little script. Good thinking.