Jpeg to transparent PNG problem
Posted: 2014-11-11T05:38:01-07:00
Hello
I have installed ImageMagick 6.8.9-10 on a RHEL5 64bit server and am trying to convert jpeg files with clipping paths to png files with the area outside the clipping path made transparent.
The following command creates the transparent background, but parts of the area inside the original clipping path are also made transparent:
convert +clip-mask -transparent white original.jpg result.png
This command creates a png with the area outside the original clipping path opaque:
convert original.jpg -alpha transparent -clip -alpha opaque result.png
However the above command does work on another server running RHEL6 64bit with Image Magick 6.5.4-7. Unfortunately I need to get this working on the RHEL5 server. Any help would be really appreciated.
Link to file is:
https://dl.dropboxusercontent.com/u/264 ... iginal.jpg
Thanks
I have installed ImageMagick 6.8.9-10 on a RHEL5 64bit server and am trying to convert jpeg files with clipping paths to png files with the area outside the clipping path made transparent.
The following command creates the transparent background, but parts of the area inside the original clipping path are also made transparent:
convert +clip-mask -transparent white original.jpg result.png
This command creates a png with the area outside the original clipping path opaque:
convert original.jpg -alpha transparent -clip -alpha opaque result.png
However the above command does work on another server running RHEL6 64bit with Image Magick 6.5.4-7. Unfortunately I need to get this working on the RHEL5 server. Any help would be really appreciated.
Link to file is:
https://dl.dropboxusercontent.com/u/264 ... iginal.jpg
Thanks