Image quality issues

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
afonit

Image quality issues

Post by afonit »

The source file is a pdf, that looks great.

I take the pdf on linux and do 'convert -72 to jpg' and the image quality looks pretty dang bad., but if I go to os x with the pdf and open it in preview and save as a jpg at 72 dpi the image is poor but looks pretty dang good.

so the same image converted to 72 dpi, one done it imagemagick on linux/the other in preview.app on os x.

Is there a setting I am missing?



http://img18.imageshack.us/my.php?image=37500391ts9.png
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Image quality issues

Post by magick »

Try this command:
  • convert -density 400 image.pdf -resize 25% -quality 100 image.jpg
How's that look?
afonit

Re: Image quality issues

Post by afonit »

magick wrote:Try this command:
  • convert -density 400 image.pdf -resize 25% -quality 100 image.jpg
How's that look?



wow! what a difference., that is perfect, I will play with those settings, I appreciate the pointers.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Image quality issues

Post by anthony »

As a FYI the technique is known as Super-Sampling, and is useful for many image processing techniques.

See Text processing Postscript/PDF
http://www.imagemagick.org/Usage/text/#postscript

As well as general Super Sampling discussion
http://www.imagemagick.org/Usage/distorts/#super_sample
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply