Page 1 of 1

How to resize and image without loosing quaility image

Posted: 2007-06-22T17:16:21-07:00
by joel_fe
hello, to everybody:

When a resize images I notice that looses some quality, ¿what can y I do for generate rezised images with the best posible quality?. Actualy im usuing the next command

convert originalimage.jpg -resize 300x300 -quality 100 resizedimage.jpg

I' ll apreciate any help

regards

Joel

Re: How to resize and image without loosing quaility image

Posted: 2007-06-23T05:03:32-07:00
by glennrp
If your image is a "graphic" and not a natural image, try using PNG format instead of JPEG.

Re: How to resize and image without loosing quaility image

Posted: 2007-06-23T16:20:37-07:00
by etiennesky
If you're stuck with a jpeg you can use the lossles cropping functionnality of jpegtran, it will retain the exact same quality without anyartifacts after cropping the image to the desired size.

http://sylvana.net/jpegcrop/

Re: How to resize and image without loosing quaility image

Posted: 2007-06-26T18:06:53-07:00
by anthony
you can not do a lossless resize of a jpeg. resizing is itself a lossy process.
Lossless cropping is posible but only to 8 bit boundaries.