Posted: 2006-12-07T08:27:27-07:00
Add -limit memory 32 to your command parameters. This tells JPEG not to use optimized Huffman encoding in order to conserve memory. If you get the same exception, try -limit memory 8.
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=7967