Hello,
i'm pretty newbie on imagemagick but right now am facing some troubles trying to convert a PDF file to JPEG, the output image is converted with a dark background (original is white).
What can i do to improve this process?
Regards,
Troubles Converting PDF to JPEG
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Troubles Converting PDF to JPEG
Please always provide your ImageMagick version and platform. Also your exact command line and your PDF file so we can test it.
My guess is that your PDF file has transparency and JPG does not support transparency.
So try
If on ImageMagick 7, use magick in place of convert.
My guess is that your PDF file has transparency and JPG does not support transparency.
So try
Code: Select all
convert image.pdf -background white -alpha background image.jpg