convert changes pixel colors unexpectedly
Posted: 2012-09-21T06:14:55-07:00
I've come across this question on Stackoverflow.com:
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:".
- "ImageMagick resize: Do really nothing for the 'Only Shrink Larger' case" (http://stackoverflow.com/questions/1250 ... arger-case)
- Why is ImageMagick applying some subtle color changes to pixels even when you simply run
?
Code: Select all
convert in.jpg out.jpg
- Are there any command line params which would allow to really get an unchanged image from above command?
Code: Select all
convert \
http://i.stack.imgur.com/N9h0q.jpg \
-thumbnail 200x200\> \
thumb.jpg