Page 1 of 1

javax.imageio.IIOException: Missing Huffman code table entry

Posted: Sun Mar 13, 2011 3:32 pm
by jmarcv
Recently, I made changes to scaling.properties

metadata=all
impl=awt

At the time of the error JAVA console showed this
[INFO] JSMApplet - JSAPI 2.8
[INFO] ImageFilter - Passing all metadata []: javax_imageio_jpeg_image_1.0
[INFO] HTTPUploadTransfer - Upload failed

Reverting back produced mixed results amongst our testers, but I thought in mine that changing back to
metadata=unknownmarker
fixed it. However, with a default metadata.error=ignore I would not think this would be the cause.
Any insights on where to look and how to test?

Re: javax.imageio.IIOException: Missing Huffman code table e

Posted: Mon Mar 14, 2011 6:23 pm
by support
Use metadata=unknownmarker because using metadata=all will try to forward meta-data from original to scaled image that are often not compatible. For instance, compression or dimensions information.

Re: javax.imageio.IIOException: Missing Huffman code table e

Posted: Wed Mar 16, 2011 4:17 pm
by jmarcv
Well, I was hoping to be able to use metadata=all because when an image with a compression of 75 has a 90 compression applied, it suffers a size bloat and I was hoping to reverse that.
But, I have seen that it does not pass the original compression value anyway.

Additionally, I thought metadata.error=ignore was supposed to prevent errors?

So unless I am missing something, I am seeing 2 things that do not work as expected.

Re: javax.imageio.IIOException: Missing Huffman code table e

Posted: Fri Mar 18, 2011 10:24 pm
by support
Please send a testing image with this issue to support(at)jfileupload(dot)com