Page 1 of 1

Resize: To do nothing for the "Only Shrink Large

Posted: 2012-09-19T14:21:23-07:00
by zenofo
The original image:
http://www.tiaoyue.com/img/_test/original.jpg
Size:100x100 2,457 bytes

Try to get a thumbnail:

Code: Select all

convert http://www.tiaoyue.com/img/_test/original.jpg -thumbnail 200x200\> SecondaryCompression.jpg
Or in Windows:

Code: Select all

convert http://www.tiaoyue.com/img/_test/original.jpg -thumbnail 200x200^> SecondaryCompression.jpg
Get the file:
SecondaryCompression.jpg
2,452 bytes

Can I get the target file(SecondaryCompression.jpg) with out secondary compression,only copy of original image?(2,457 bytes of the image)


Reference:
http://www.imagemagick.org/Usage/resize/#shrink

Re: Resize: To do nothing for the "Only Shrink Large

Posted: 2012-09-19T16:29:40-07:00
by fmw42
by using IM, it will decompress and recompress the image since both the input and output are jpgs. I do not think you can avoid this with jpg.