Single page from PDF to JPEG. Turning monochrome?!
Posted: 2010-11-17T10:20:42-07:00
Hello folks,
I am trying to create thumbnail views of the front pages of some multi page PDFs. If I take a single PDF file and use this:
I get a lot of great looking little images of each page. This is great. If I now try to take just the first page by doing this:
I get the first page only and it is the right size, but it is in monochrome... I can't understand why! Can anyone please help?
If it helps, I have ghostscript installed correctly and am using the -dUseCIEColor fix to correct the CMYK to RGB conversion (without this, they all come out very wrong indeed..). I have used imagemagick and gs successfully together on other projects, so I'm pretty sure there are no installation or configuration issues... I hope!
Thanks in advance.
I am trying to create thumbnail views of the front pages of some multi page PDFs. If I take a single PDF file and use this:
Code: Select all
convert source.pdf -scale 142 dest.jpg
Code: Select all
convert source.pdf[0] -scale 142 dest.jpg
If it helps, I have ghostscript installed correctly and am using the -dUseCIEColor fix to correct the CMYK to RGB conversion (without this, they all come out very wrong indeed..). I have used imagemagick and gs successfully together on other projects, so I'm pretty sure there are no installation or configuration issues... I hope!
Thanks in advance.