Photoshop: Export PSD Layers to PNG with transparency


http://www.tranberry.com/photoshop/photoshop_scripting/tips/layerstoPNG.html

A JSX script file written for use in Photoshop to get back one part of the functionality lost when Image Ready went away. There is no other way in the CS3 workflow that I can find to export many layers of a file to transparent PNG24s: not in Fireworks, not by importing the PSD into Flash (there are matte/edge artifacts) and not in the default Photoshop scripts (the closest they come is TIFF with no transparency). Considering how often this comes up in the Flash workflow, I thought the link above was a big time saver. Just remember to reload Photoshop once the script is installed in [program path]\Adobe\Adobe Photoshop CS3\Presets\Scripts

Sidenote: Of course nothing is easy: the transparency attribute of the PNGFileOptions object for PSD+JSX doesn’t do what you’d think, not without extra JavaScript, which fortunately is in this JSX file.

I’ll be installing PS CS4 shortly and we’ll see how the Photoshop->Flash workflow is for that system.  Thanks to Jeffrey Tranberry for writing it.

Advertisements

2 thoughts on “Photoshop: Export PSD Layers to PNG with transparency

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s