Page 1 of 1

-resize filesize the same as -thumbnail

Posted: 2012-05-18T09:07:00-07:00
by Bonzo
I have just run a test and get the same filesize for -resize and thumbnail; adding -strip to thumbnail had no effect either.
version 6.7.6 Q16 run through php on a Vista PC

Code: Select all

convert image.jpg -resize 1024x680 output1.jpg

-resize dimensions = 1021 x 680 186kb

convert image.jpg -thumbnail 1024x680 -strip output2.jpg

-thumbnail dimensions = 1021 x 680 186kb

Re: -resize filesize the same as -thumbnail

Posted: 2012-05-18T09:13:54-07:00
by fmw42
thumbnail does the strip automatically. try adding -strip to resize. But you probably need some image that has lots of meta-data.

Re: -resize filesize the same as -thumbnail

Posted: 2012-05-18T09:23:53-07:00
by Bonzo
The strip was not the problem and I forgot to take it out of the post.

The problem was that resize and thumbnail gave the same filesize.

It looks like the original convert was the problem; the CR2 file contains the EXIF data and converting it to a jpg has removed it all

Code: Select all

exec("convert IMG_4979_1.CR2 image.jpg");