If I execute this command:
Code: Select all
convert test.psd out.png
http://www.asura.co.uk/test.psd
http://www.asura.co.uk/out-0.png
http://www.asura.co.uk/out-1.png
I'm assuming the reason two files are produced is something to do with the layers within the PSD file? If I open the PSD in Photoshop, I can only see 1 layer. Also, if you inspect the two output files closely, you will notice index 0 seems to have a white/grey fringe within the feathered edge and index 1 is a perfect conversion.
I experimented with this command:
Code: Select all
convert test.psd[1] out.png
Finally, how can I modify my approach to assure I get the correct PSD -> PNG conversion and not rely on layers. Some of the files I process may not have an index 0? .... or can I assume index 1 will always be there?
Any help is much appreciated, thank-you in advance.