Summary: | Luratech jbig2 image decoding fails where jbig2dec succeeds | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Sebastian Rasmussen <sebastian.rasmussen> |
Component: | JPX/JBIG2 encode/decode | Assignee: | Shailesh Mistry <shailesh.mistry> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | henry.stiles |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Sebastian Rasmussen
2016-06-06 07:51:25 UTC
Here is a response from Luratech, we can just leave the problem open as a P4 enhancement. I changed the status of the bug. All the files do contain segments of types we do not yet support, namely Intermediate Text Regions and Generic Refinement Regions. If a JBIG2 stream contains unsupported regions can be checked in advance by calling JB2_Document_Get_Property() for cJB2_Prop_All_Regions_Supported. If you try to render the page anyway you will get a return code from JB2_Document_Decompress_Page() which is cJB2_Error_Not_Yet_Supported. You could set the property cJB2_Prop_Decoder_Tolerance to force the SDK do decode whatever it can but this will only result in a blank page in these cases, because the actual content is contained in the not supported segments. We plan to add support for such seldom used segment types but there is no definitive schedule yet. Luratech support discontinued. |