Hi everyone. I'm making graphics for a 2D game. One important part of performance optimisation is getting rid of unnecessary alpha sorting. I don't want partial alpha unless i have a specific need for it. I'm wanting all my images to be 1-bit alpha only. That is, a pixel is either completely opaque, or completely transparent - never inbetween.
I'm not sure how to do this easily in photoshop. So far i've come up with a workflow that fills my needs pretty well, except that it seems unnecessarily long and complicated:
1. Place the graphic on a transparent background
2. Use the magic wand to select transparent space, using the tolerance value to define the cutoff point
3. Select Refine Edge, and shift the contrast up to 100. For some reason if I don't do this, photoshop will often "partially select" a pixel, giving undesired results.
4. Hit delete. This removes all pixels that were selected (transparent enough to fall within the tolerance)
5. Select > Inverse. Shifts my selection to everything except what i just delete, ie the actual graphic.
6. Using the color picker, i pick an appropriate neutral color from the main body of the graphic. or i use black.
7. Using the pencil tool, with the draw mode set to Behind, and with a colossal radius, i draw on the graphic. This fills in all the remaining partially transparent pixels with the solid colour that i chose
This workflow does the job perfectly for me, and exactly achieves my intended results. but i can only do it on one layer at a time (i usually need to do this on about 18 layers, for a character graphic).
So what i'm looking for here, is some way to automate this process. The overall point of it really is forcing all pixels to "take a side", becoming either fully transparent, or fully opaque. Is there any better built in way to accomplish this? or a plugin? I'm open to commercial tools and plugins, even.
Probably relevant, I'm using photoshop CS5
Thank you in advance for any replies! ^_^
I'm not sure how to do this easily in photoshop. So far i've come up with a workflow that fills my needs pretty well, except that it seems unnecessarily long and complicated:
1. Place the graphic on a transparent background
2. Use the magic wand to select transparent space, using the tolerance value to define the cutoff point
3. Select Refine Edge, and shift the contrast up to 100. For some reason if I don't do this, photoshop will often "partially select" a pixel, giving undesired results.
4. Hit delete. This removes all pixels that were selected (transparent enough to fall within the tolerance)
5. Select > Inverse. Shifts my selection to everything except what i just delete, ie the actual graphic.
6. Using the color picker, i pick an appropriate neutral color from the main body of the graphic. or i use black.
7. Using the pencil tool, with the draw mode set to Behind, and with a colossal radius, i draw on the graphic. This fills in all the remaining partially transparent pixels with the solid colour that i chose
This workflow does the job perfectly for me, and exactly achieves my intended results. but i can only do it on one layer at a time (i usually need to do this on about 18 layers, for a character graphic).
So what i'm looking for here, is some way to automate this process. The overall point of it really is forcing all pixels to "take a side", becoming either fully transparent, or fully opaque. Is there any better built in way to accomplish this? or a plugin? I'm open to commercial tools and plugins, even.
Probably relevant, I'm using photoshop CS5
Thank you in advance for any replies! ^_^