VN Image Editing: Retouching Images with 8-Bit Transparency
And now a little something for all you image editors out there. (If you don't speak Photoshop, just keep walking; there's nothing for you here.)
Some visual novels make image edits simple — the UI is mostly flat colors, 90º angles, and 1-bit transparencies. Easy peasy. Meanwhile, some more recent VNs like to store all their UI elements as semi-transparent overlays with full 8-bit alpha channels. If you've ever tried editing these, you know what a pain they can be.
And so, I came to love a command I've never had to use before in all my years with Photoshop — namely because if there's a transparency on something, I'm usually the one who put it there in the first place.
Ready? Tattoo this on your arm: Layer > Layer Mask > From Transparency
Let's look at one possible scenario where it might come into play: Text on paper.
At first glance, doesn't seem like it would be too hard, right? Then you get it into Photoshop and realize it's a mix of transparent elements and fully opaque type.
If you just grabbed the rubber stamp tool and tried cloning out the text right now, you'd end up with something like this.
That's because your cloning source is semi-transparent. The trick here is to separate out the 8-bit alpha channel from the source image so you have an entirely opaque image. So with the source layer selected, choose Layer > Layer Mask > From Transparency, temporarily disable the resulting layer mask, and you get something like this.
From there, it's just a standard retouching job. Once you clone out the type as best you can, you're ready to add new text from your TL team. (In this case, since the type and paper are at two different levels of transparency, you'd also need to do a quick cleanup on the layer mask. If you look closely at the mask thumbnail, you can see the type as pure white on a 60% gray. Just paint over that part of the mask with more 60% gray and you'll be good to go.)
Enable the layer mask again, export as a file with 8-bit alpha support (a PNG, most likely) and you're done. This was a fairly straightforward example, of course, but the basics remain the same no matter how complex the retouching job.
Now rinse and repeat 500 more times with all the rest of the game files. Aren't you glad you decided to take up image editing?
4 Comments
Recommended Comments