Quality issue convert jpg from pdf

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
TiBeN

Quality issue convert jpg from pdf

Post by TiBeN »

Hi!
*i'm sorry if the question was posted before but i've not found it by search engine.

I've to convert some pdf files into pictures and resize the result because my original pdf have a very small size. The content of these pdf are essentially text.
for this I use :

Code: Select all

 "convert -resize **x** file.pdf file.jpg
But my problem is the quality of the result is very poor (some bad smooth on the letters make text unreadable).
I think the problem is the pdf pages are converted in bitmap and resized after.

Is it possible to tell "convert" to resize my pdf in a "vector" way to make text quality fine before convert to jpg ??

sorry about my poor english i'm french

Thanks!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Quality issue convert jpg from pdf

Post by magick »

Try this command:
  • convert -density 400 file.pdf -resize 25% -quality 92 file.jpg
TiBeN

Re: Quality issue convert jpg from pdf

Post by TiBeN »

EX - CE - LENT !!!!!!!!!!!

thanks ! having the result i was looking for. tried with resize 75% and it look really good !
Post Reply