How can I convert from PDF to JPG without colours changing?
Posted: 2009-07-06T04:52:23-07:00
I am trying to convert PDFs to images but when I run the command the colours seem to change in the resulting image. The most obvious is that a dark blue colour #0040CS (R0 G64 B197) gets mapped to #004B8E (R0 G75 B142) - using Firefox colour picker tool on the resulting image.
The command I am using is:
"convert test.pdf -resize 340x500 test.jpg"
I have tested this with/without the resize and changing the output file type (jpg / gif / tif). I have also seen if I can reduce the brightness to negate some of the difference in colour. If it helps it looks like the resulting image might be a little bit saturated (just to my eye).
I have had a good search through the forum and on Google and have read that it might be todo with some of the following:
- colorspace
- ghostscript colour translations (I read there is a parameter which can be added to delegates.xml "-dUseCIEColor")
If anyone could give me any guidance here it would be much appreciated as I am not really too sure how I can rectify this issue.
Thanks in advance.
Dave
The command I am using is:
"convert test.pdf -resize 340x500 test.jpg"
I have tested this with/without the resize and changing the output file type (jpg / gif / tif). I have also seen if I can reduce the brightness to negate some of the difference in colour. If it helps it looks like the resulting image might be a little bit saturated (just to my eye).
I have had a good search through the forum and on Google and have read that it might be todo with some of the following:
- colorspace
- ghostscript colour translations (I read there is a parameter which can be added to delegates.xml "-dUseCIEColor")
If anyone could give me any guidance here it would be much appreciated as I am not really too sure how I can rectify this issue.
Thanks in advance.
Dave