photoshopscripts
photoshopscripts copied to clipboard
Transparent PNG export doesn't work
Thanks for this great Photoshop script(Layer Comps To Artboard Files.jsx). It works really well. The only problem I've found is that you can't export transparent PNGs. You can choose the transparent option in the PNG Settings, but the layers always get exported with an white background instead of the transparent background.
Best regards Michael
Hey this is a great script - thank you! mkernb - I have just forked with a proposed update so that the layer comps are not flattened therefore retaining their transparency when exporting as PNGs!
Cheers Jay
Still no fix the transparency with PNGs?
@antoniocosta
I figured it out!
Replace duppedDocument.flatten();
With duppedDocument.mergeVisibleLayers();
Thanks @TrevOwnz ! Replaced.