A Wand way of converting PSD to one PNG
Posted: 2016-01-23T13:45:31-07:00
Hi,
I am trying to convert a PSD file to a PNG file with Wand API.
I understand that by default imagemagick will convert each layer in a PSD file into separated PNG file.
With imagemagick 'convert' command line I can use '-flatten' parameter to merge all layers into a single PNG file, so I want to know how to do the same thing with the 'wand' method.
Any advice will be appreciated. My libmagickwand library is from the version 6.6.9.7.
I am trying to convert a PSD file to a PNG file with Wand API.
I understand that by default imagemagick will convert each layer in a PSD file into separated PNG file.
With imagemagick 'convert' command line I can use '-flatten' parameter to merge all layers into a single PNG file, so I want to know how to do the same thing with the 'wand' method.
Any advice will be appreciated. My libmagickwand library is from the version 6.6.9.7.