Page 1 of 1

Why my images get bigger in file size?

Posted: 2011-08-04T15:32:52-07:00
by nip0n
Hi,

when i do this command:

$exec_cmd = IMAGE_MAGIC_CONVERT . ' '.$pic['file'].' '.$strip_exif.' -resize '.$new_width.'x -quality 85 '.$pic['file'];

I get image bigger in file size around 2-4 times bigger?

I wanna resize image from 2200x1580 to 1440x[auto] ...I got bigger file size? ie file size is 80k and after resize I got 450k

images are "jpg"

Re: Why my images get bigger in file size?

Posted: 2011-08-04T16:03:52-07:00
by fmw42
The quality of your input image may be much lower (more compressed) than the IM -quality 85. Perhaps you can post your command line with actual filenames and numbers and a link to your input jpg so that we can see what is happening.