Page 1 of 1

How do I export PSD layers as a single PNG file?

Posted: 2019-05-12T11:51:50-07:00
by chico
This thread is related to this one:
Hello! My case is as follows:

I have a PSD with several layers, some of which are inside groups (probably nested inside other groups). I'd like to export multiple layers of my choice(...)
into a single PNG file that has an alpha channel and is the same size as the background layer.

I tried multiple times but I'm only getting multiple PNGs or a single PNG without the alpha channel (sometimes just a black file) out of the different PSD layers. Also I've noticed that the PNGs don't have the size of the canvas (they get trimmed by default for some reason).

IM Version: 7.0.8-24 Q16 x64 2019-01-17
Platform: Windows 7 x64

Source PSD (test file): https://www.dropbox.com/s/f2kqhijo8hwpp43/test.psd?dl=0
I can't share the original file because of the duty of confidentiality. Besides, to avoid any corruption I decided to use a dummy PSD to test the capabilities of IM.

Desired result (PNG file) https://www.dropbox.com/s/hxbce5r62xtks6h/test.png?dl=0

Re: How do I export PSD layers as a single PNG file?

Posted: 2019-05-12T12:34:33-07:00
by fmw42
Please always provide your IM version and platform. Also perhaps post one of your PSD files to some free hosting service that will not change the format and put the URL here. Also show your command line, so we can see what you have tried.

Re: How do I export PSD layers as a single PNG file?

Posted: 2019-05-12T18:40:30-07:00
by chico
Thanks for the reply! @fmw42 Unfortunately I tried the codes haphazardly, and erased all output files as they weren't what I wanted. I guess I'll have to go through that pain again haha I hope it helps some other poor soul like me.

Re: How do I export PSD layers as a single PNG file?

Posted: 2019-05-12T19:52:54-07:00
by fmw42
I was asking for the input PSD and your command line.