Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
zenofo
Posts: 2 Joined: 2012-09-19T14:13:38-07:00
Authentication code: 67789
Post
by zenofo » 2012-09-19T14:21:23-07:00
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
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2012-09-19T16:29:40-07:00
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.