Image Magick Resize to a smaller image produces bad quality

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
mjhigan

Image Magick Resize to a smaller image produces bad quality

Post by mjhigan »

Hi,

I have 2000 image(ranging from 14kb to 70kb) to convert to a standard size of dimension 128x150.
I use Scale('128x150') to resize. $x=$image->Scale('128x150'). The images do resize to 128x150, 121x150 but the larger images seem to have bad resolution. The quality of the photo is bad compared to when resized to a similar dimension using a windows photo editor or any photo editor.

How can I improve the quality of the photos. Not all photos are bad.
I have also tried using thumbnail('128x150')

Please help. I am new to Iamge MAgick and perplexed over this issue.

Thanks,
MJ
mjhigan@scu.edu
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Image Magick Resize to a smaller image produces bad quality

Post by anthony »

Scale is equivelent to a 'box' or pixel averaging. This is not a good 'filter' for general resizing. Use Resize() instead.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply