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?".
and discovered a different file size as the result, thinking a different compression scheme had been applied. In reality only some pixels (about 18% of them) had their colors changed by a very small amount, as can easily be verified by running "compare http://i.stack.imgur.com/N9h0q.jpg thumb.jpg show:".
JPEG is lossy. Subtle changes are unavoidable when you decompress and recompress.
"convert in.jpg out.jpg" might be lossless if "in.jpg" was created with the same version of
ImageMagick and libjpeg. ImageMagick attempts to use the same "quality" and "sampling-factors" that
were used to create the input file.
The "jpegtran" application that comes with libjpeg can do lossless conversions provided that no scaling
is involved; it avoids the decompress/recompress operation.
If you must have exact lossless conversions you should be using a lossless format such as PNG or TIFF.