I reported the bug upstream and it appears the bug is in JPEG library after all, cf.
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26482&sid=840b093fee284f81c6b46c7177ca07f3
As an interim fix (workaround for the JPEG library bug), I would suggest building ImageMagick with jpeg_info.optimize_coding=FALSE as suggested there.
I reported the bug upstream and it appears the bug is in JPEG library after all, cf.
http:// www.imagemagick .org/discourse- server/ viewtopic. php?f=3& t=26482& sid=840b093fee2 84f81c6b46c7177 ca07f3
As an interim fix (workaround for the JPEG library bug), I would suggest building ImageMagick with jpeg_info. optimize_ coding= FALSE as suggested there.