Transparent pdf to jpg
Posted: 2013-05-29T08:04:02-07:00
I'm having a problem with a transparent pdf that contains images with a shadow.
When I use convert, I cant seem to get the shadow effect to be preserverd. Instead it becomes a solid color.
I use the following command (ImageMagick 6.3.7), which has worked great for any other PDF:
But for this specific PDF with shadows:
http://dev.addemar.com/imagemagick/example.pdf
The image becomes:
http://dev.addemar.com/imagemagick/example_convert.jpg
I have also been trying with calling Ghostscript (8.62) directly:
And this results into the following image, where shadow is preserved:
http://dev.addemar.com/imagemagick/example_gs.jpg
Is there a way (an option I'm missing) to solve this problem using convert?
When I use convert, I cant seem to get the shadow effect to be preserverd. Instead it becomes a solid color.
I use the following command (ImageMagick 6.3.7), which has worked great for any other PDF:
Code: Select all
convert -density 288 -resize 25% -colorspace CMYK example.pdf -append -colorspace RGB example.jpg
http://dev.addemar.com/imagemagick/example.pdf
The image becomes:
http://dev.addemar.com/imagemagick/example_convert.jpg
I have also been trying with calling Ghostscript (8.62) directly:
Code: Select all
gs -dNOPAUSE -dBATCH -dUseCIEColor -sDEVICE=jpeg -r72 -sOutputFile=example_gs.jpg example.pdf
http://dev.addemar.com/imagemagick/example_gs.jpg
Is there a way (an option I'm missing) to solve this problem using convert?