-clip throws error on linux
Posted: 2012-11-09T03:50:30-07:00
i'm trying to generate a jpg from a PSD file and need to apply the clipping path. I'm using the following command successfully on my local windows environment, using ImageMagick 6.8.0-4.
convert /home/test/test.psd -alpha transparent -clip -alpha opaque -strip -density 72x72 -units PixelsPerInch /home/test/result.psd
However, deploying on a linux test environment throws the following error:
image size differs `/home/test/test.psd' @ error/image.c/SetImageClipMask/2392.
Any solution to this problem? We have used this command on the server with a previous version of IM.
convert /home/test/test.psd -alpha transparent -clip -alpha opaque -strip -density 72x72 -units PixelsPerInch /home/test/result.psd
However, deploying on a linux test environment throws the following error:
image size differs `/home/test/test.psd' @ error/image.c/SetImageClipMask/2392.
Any solution to this problem? We have used this command on the server with a previous version of IM.