pdf to tif:poor resolution

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
gabriello
Posts: 2
Joined: 2011-12-06T09:59:50-07:00
Authentication code: 8675308

pdf to tif:poor resolution

Post by gabriello »

Hello:
I'm newbie with ImageMagick, I have a monochrome CAD draft printed to pdf, and I loke to convert it to a Tif picture, I tried:
convert toto.pdf -monochrome toto.tif
the result is a tif file with a very poor resolution, how can I improve quality??

Thank you
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: pdf to tif:poor resolution

Post by el_supremo »

Specify a density (dpi) for the PDF before reading it.

Code: Select all

convert -density 300 toto.pdf -monochrome toto.tif
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
gabriello
Posts: 2
Joined: 2011-12-06T09:59:50-07:00
Authentication code: 8675308

Re: pdf to tif:poor resolution

Post by gabriello »

thank you for the tip, it works great.
But I noticed that straight lines are converted with too many notches, (which become smaller with increasing density)
can a straight line in pdf, be converted to a straight line in tif?

Thank you
Post Reply