Page 1 of 1

JPG to PDF conversion

Posted: 2012-02-28T17:05:47-07:00
by bnuske
I am using the windows static binary version 6.7.5-Q16 and found that converting a JPG to PDF produced a grayscale image in the PDF even though the JPG was color.

I ran the following commands:

convert.exe -size 100x100 xc:red red.jpg
convert.exe red.jpg -format pdf red.pdf

I tried this in an older version 6.6.5-Q16 and it worked ok.

Re: JPG to PDF conversion

Posted: 2012-02-28T18:11:51-07:00
by fmw42
This works fine for me in IM 6.7.5.7 Q16 Mac OSX Snow Leopard.

convert -size 100x100 xc:red red.jpg
convert red.jpg red.pdf

Note that -format jpg, I believe is only needed for mogrify and not convert.

Re: JPG to PDF conversion

Posted: 2012-02-28T19:17:16-07:00
by bnuske
I have just downloaded:
- Portable Win32 static at 16 bits-per-pixel
- Win32 static at 16 bits-per-pixel

From:
- http://www.imagemagick.org/script/binary-releases.php

Both produce the grayscale PDF even without specifying the -format option.

I am running on Windows 7. Perhaps it is something specific to the Windows build?