mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
bc42144642
If the "MMR" bit is set, the generic region decoding procedure just uses ITU-T T.6 (2D CCITT), which we already have an implementation of. In practice, this is used almost never in .jbig2 files and in none of the PDFs I have. The two files that do use MMR are: 1.) JBIG2_ConformanceData-A20180829/F01_200_TT9.jb2 2) 042_3.jb2 from the ghostpdl tests The first uses an immediate _lossless_ generic region, which we don't implement yet (but I think it should just forward to the normal immediate generic region code? Not in this commit, though). The second uses a regular immediate generic region, and we can decode it now: Build/lagom/bin/image -o out.png \ path/to/ghostpdl/tests/jbig2/042_3.jb2 |
||
---|---|---|
.. | ||
Applets | ||
Applications | ||
BuggieBox | ||
Demos | ||
DevTools | ||
DynamicLoader | ||
Games | ||
Libraries | ||
Services | ||
Shell | ||
Utilities | ||
CMakeLists.txt |