Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing huffman code table entry #4

Open
ErShakirAnsari opened this issue Oct 30, 2019 · 2 comments
Open

Missing huffman code table entry #4

ErShakirAnsari opened this issue Oct 30, 2019 · 2 comments

Comments

@ErShakirAnsari
Copy link

I'm facing below exception when executed this command:

java -Xmx1024m -jar JPEGOptimizer.jar

exception

@glosterva
Copy link

I'm having the same issue with 2048m

@t-ja
Copy link

t-ja commented Dec 19, 2019

I had the same problem. Seems to appear with some kinds of source files.
Added a fix in my pull-request:
if (iwParam instanceof JPEGImageWriteParam) { JPEGImageWriteParam jpegImageWriteParam = (JPEGImageWriteParam) iwParam; jpegImageWriteParam.setOptimizeHuffmanTables(true); }
The EXIF-data are not affected by that change, as far as I could verify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants