Why my images get bigger in file size?
Posted: 2011-08-04T15:32:52-07:00
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"
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"