Page 1 of 1

Image file size increasing after convert command

Posted: 2018-04-13T02:23:30-07:00
by vdhiman23
Hi,

I am using below command to compress the image.

"C:\Program Files\ImageMagick-6.9.9-Q16\convert.exe" -define jpeg:size=319x319 ${filename} -thumbnail 319x319 cq5dam.thumbnail.319.319.png

But when I compare the result with actual, I find the size of png is increasing. How can I fix that issue.

Thanks,

Re: Image file size increasing after convert command

Posted: 2018-04-13T02:26:19-07:00
by snibgo
"Increasing" compared to what?

Re: Image file size increasing after convert command

Posted: 2018-04-13T06:01:13-07:00
by Bonzo
What format is the original image?
I belive this is only used when saving as a jpg: -define jpeg:size=319x319