PDF convert result looks terrible

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
wxiluo
Posts: 2
Joined: 2011-01-22T07:27:25-07:00
Authentication code: 8675308

PDF convert result looks terrible

Post by wxiluo »

Hi all,

I'm trying to convert http://dl.fullcirclemagazine.org/issue43_en.pdf to jpg images. IM version is 6.6.2-6 2010-09-17 Q16 on Ubuntu 10.10.

Code: Select all

convert issue43_en.pdf images.jpg
Converting is successful without any error or outputs. But those jpg images looks terrible, look different with the origin pdf. It seems like the fonts were replaced.

How do I convert a pdf to a image which looks as same as I see it in pdf viewer?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PDF convert result looks terrible

Post by magick »

Try this command:
  • convert -density 400 issue43_en.pdf -resize 25% images.jpg
wxiluo
Posts: 2
Joined: 2011-01-22T07:27:25-07:00
Authentication code: 8675308

Re: PDF convert result looks terrible

Post by wxiluo »

magick wrote:Try this command:
  • convert -density 400 issue43_en.pdf -resize 25% images.jpg
It works. Thank you very much. -density -- Set the horizontal and vertical resolution of an image for rendering to devices.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: PDF convert result looks terrible

Post by anthony »

For more see IM Examples, Text Handling, Postscript
http://www.imagemagick.org/Usage/text/#postscript
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply