ImageMagick PDF to JPEG conversion results in green square where image should be
Posted
by ceejayoz
on Stack Overflow
See other posts from Stack Overflow
or by ceejayoz
Published on 2009-12-14T22:06:34Z
Indexed on
2010/03/12
23:57 UTC
Read the original article
Hit count: 682
I'm attempting to convert a PDF to a JPEG using ImageMagick.
The PDF:
baby_aRCWTU.pdf
The command:
convert -density 260 -profile 'SWOP.icc' -profile 'sRGB.icm' 'baby_aRCWTU.pdf' 'baby_aRCWTU.jpg'
The resulting JPEG:
baby_aRCWTU.jpg
As you can see, the text is rendered nicely, but the embedded image shows up as a green square. Any ideas? This occurs with and without the colour profiles.
edit: reposted due to broken links
© Stack Overflow or respective owner