javax.imageio.IIOException: Missing Huffman code table entry

Upload core product.
Post Reply
jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

javax.imageio.IIOException: Missing Huffman code table entry

Post 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?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

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

Post 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.

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

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

Post 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.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

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

Post by support »

Please send a testing image with this issue to support(at)jfileupload(dot)com

Post Reply