Hello everyone! For the past few days I've been trying to extract sprites from Grisaia no Kajitsu, although this is not an easy battle. I got to the unpacking and converting images (thanks to asmodean's toolset), I got ImageMagick to quickly convert tens of thousands (over 55 000 for sprites alone) of images easily but... The original sprite base For some reason, the transparency has been replaced with black. And this is how original files look like, apparently. So, using the best tool at my disposal - Occam's razor - I deduced that there are no #000000 pixels within the sprite itself! Oops~ Unfortunately, I was wrong.The next idea: floodfill! There are pure black pixels within the sprite, but they probably don't touch the exterior. Not really, no The effect is a little better, but still bad. Plus there are transparencies inside some sprites, which means more potential manual fixing, which got much harder now that I know I can't use floodfill. Did I also mention the sheer number of these? Let me repeat: 55 611 character sprite components I'm interested in. Way too many to search manually each and every image for individual blemishes, edge cases and so on. I'm looking for ideas now. There has to be a method for quick and efficient solution (any automation for over seventy thousand images is efficient, to be honest), since the game engine does this on its own, without human help. I'm thinking there might be a mask to decode these - I would really appreciate it if some kind soul helped me find them (I don't have a reasonably powerful computer for the time being, and hence extraction and conversion are rather time-consuming), or another way to do that.