Bug 689840

Summary: Custom / user-supplied huffman tables are not supported...
Product: jbig2dec Reporter: Justin Greer <ghostscript.com>
Component: Missing FeatureAssignee: Masaki Ushizaka <masaki.ushizaka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: masaki.ushizaka
Priority: P4    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---
Attachments: Patch to add custom huffman table support.

Description Justin Greer 2008-05-13 08:09:31 UTC
Newer jbig2 encoders seem to be including custom huffman table data, which
jbig2dec doesn't currently know how to handle.
Comment 1 Justin Greer 2008-05-13 08:12:23 UTC
Created attachment 4009 [details]
Patch to add custom huffman table support.
Comment 2 Nathan Aldridge 2009-05-13 17:04:02 UTC
I'm not sure if anyone is tracking this at the moment...

I patched the latest JBig2 library sources and built them into Ghostscript
8.65-bleeding edge and this seems to work. I do have an example where the output
of a PDF->TiffG4 translation is a little bit different from the original.
However, I am not sure whether this is due to me messing up the patching or
something else being wrong.

Regards,

Nathan
Comment 3 Masaki Ushizaka 2010-05-01 10:26:50 UTC
Justin Greer,

Thank you providing a patch for this issue, and I apologize slow response.
I am now working on this and would like to develop a solution based on your code.
We need to ask you to assign copyright of this code to Artifex Software Inc.
We distribute source code under the GPL and the Artifex commercial license.
Would you agree to do this?
Comment 4 Masaki Ushizaka 2010-05-24 14:17:09 UTC
Unfortunately, we couldn't get response from Justin Greer.  I gave up his code and rewrote the function in bug 689853.  I am going to close this bug as duplicate.

*** This bug has been marked as a duplicate of bug 689853 ***