Hi,
I am converting PDF to Images. I use -colorspace rgb but it creates a black background for the jpg.
In case I use cmyk, it converts the image with proper background but the jpg is not displayed by I.E. Please help.
problem with rgb and cmyk colorspaces.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: problem with rgb and cmyk colorspaces.
What is your exact command? What version of IM and platform are you using (presumably Windows?). Can you post a link to your image? I believe this is a common problem with IE, but will defer to others on this as I am not a Windows users. However, if you provide a link to your image, then others can test with it.
- whugemann
- Posts: 289
- Joined: 2011-03-28T07:11:31-07:00
- Authentication code: 8675308
- Location: Münster, Germany 52°N,7.6°E
Re: problem with rgb and cmyk colorspaces.
Provide a link to the PDF. And give information on the versions of Windows, ImageMagick and GhostSrcipt. Tell us the exact command line you are using. Then we might narrow the problem. I have done lots of conversions PDF --> JPG under Windows and rarely met problems. (However, I remember there being a probelm with GhostScript version 9 ...)
Wolfgang Hugemann
Wolfgang Hugemann
Wolfgang Hugemann
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: problem with rgb and cmyk colorspaces.
If you pdf has transparency, then you will get a black background when using jpg for your output as jpg does not support transparency. Other issues may be the ghostscript device you are using. I believe it should be set to pngalpha (for saving transparent png), but am not 100% certain. But this may not allow multipage pdf conversion. This is all guesswork until you provide more information as requested above.I am converting PDF to Images. I use -colorspace rgb but it creates a black background for the jpg.