Click to See Complete Forum and Search --> : Image Magik resize problem
OhLordy
09-02-2003, 08:35 AM
Hi, I've got a little script that resizes images with convert -size $xX$y.... and it works fine. Only problem is that the designer is telling me that the images it produces are of a lower quality than the input file. What is needed is to resize the images down to smaller (xXy) images but keep the high quality, regardless of the size (Mb).
Thank you in advance
Rob
the only time i've seen a degradation in quality is if i go from say a png to a jpg but i expected it.
man convert
see if there are any options in there that you can try.
OhLordy
09-02-2003, 09:09 AM
- quality value
JPEG/MIFF/PNG Compression level.
Looked elsewhere and found out that it is set to 75 by default. I want to set it to 100 but where do I put that in my command?
convert -size 120x120 image1.jpg -resize 120x120 image2.jpg
I haven't been able to find anywhere that tells me.
Thanks
Rob
convert -size 120x120 -quality 100 image1.jpg -resize 120x120 image2.jpg
OhLordy
09-02-2003, 09:18 AM
Thanks, it was obvious once I saw it on the screen. It works fine and does make the image look nicer but it's a hell of a lot bigger. 15k if quality's at default (75) and 56k if it's at 100.
Any way, thank you very much hayl
Rob