Page 1 of 1

error/jpeg.c/JPEGErrorHandler/318

Posted: 2013-03-11T03:44:01-07:00
by farcot
Hello.
With some images i get:
convert: Sampling factors too large for interleaved scan `file3_conv.jpg' @ error/jpeg.c/JPEGErrorHandler/318.

images are correct and can be opened with various other software.
broken image can be downloaded here: Image
I'm using Version: ImageMagick 6.8.3-9 2013-03-10 Q16

Re: error/jpeg.c/JPEGErrorHandler/318

Posted: 2013-03-11T04:05:15-07:00
by magick
Try this command:
  • convert 0ba9ee_b39b4b46822c3becc8d851957a51872e.jpg -sampling-factor 2x2 image.jpg
The JPEG standard restricts the max blocks in the MCU to 10, however, Adobe sometimes emits non-compliant JPEG files. We force JPEG-standards compliance with the -sampling-factor option.