Easy image decompositing with Adobe CS
October 12, 2011 11:13 AM Subscribe
What is the best way to use Adobe CS to chop an illustration into multiple graphic files that can later be recombined by software to recreate the original illustration?
posted by alms to Computers & Internet (12 answers total)
I have about 250 cartoon images. Each image has a background and two or three foreground characters.
I need to turns each cartoon image into separate graphic files (probably PNGs) that can be layered on top of each other (composited) to recreate the original cartoon image. There needs to be one graphic file for the background and one for each character.
So far this is trivial. You just bring the cartoon image into Photoshop, cut/paste each character and the background into separate layers, export each layer as a PNG with transparency, and you have have a set of PNGs that can be composited to recreate the original image.
Here's the nontrivial part: I want each of the foreground character images to be trimmed down to the minimal bounding box that will fully contain it. In other words, trim off all the excess transparency. It is easy to do this in Photoshop and then save out that image. The problem is that I then have to manually look up and record the position of that character's bounding box in the full illustration, so that I can place it correctly during the compositing process.
I would rather not do this by hand. I suspect that there is some straightforward workflow that will do what I want --- or something close to it --- automatically. You've got to be able to export layers from Photoshop with minimal bounding boxes in a format that allows them to be composited, don't you? I suspect I'm reinventing the wheel here, using inappropriate tools, and I'd rather not do that.
I have programmers on hand, so if the data doesn't come out in exactly the right format, that's not a problem. We can massage it. So if, for example, Adobe CS can turn this into a web page with html that places each image, that's fine.
We have Photoshop, Illustrator, and Flash on hand, and we could get other tools if there's something that will make this tax go more quickly and painlessly.