Page 1 of 1

ImageMagick: Using -size and -quality in the same command?

Posted: Tue Nov 24, 2009 1:45 pm
by someberry
I'm converting a PDF into PNG's using the following command:

Code: Select all

exec("convert -resize 500x700! -quality 50 input.pdf output.png");
However, the quality always seems to be set to 100 (the file size is 280kb!). Is there a way I can get the output.png to be < 100kb whilst also resizing?

Thanks!