ladybird/Userland
Nico Weber bc42144642 LibGfx/JBIG2: Start implementing the generic region decoding procedure
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
2024-03-11 16:48:57 +01:00
..
Applets Keymap: Draw the current keymap text with the correct theme color 2024-03-02 19:24:53 +00:00
Applications Maps: Add FavoritesModel and remove hacky misusage of JSONArrayModel 2024-03-11 10:40:23 +00:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos Userland: Propagate errors with TRY() where possible 2024-02-14 17:46:06 -05:00
DevTools HackStudio: Enable permissive mode for Config access 2024-03-07 17:49:01 -05:00
DynamicLoader DynamicLoader: Disable stack protector in some files for RISC-V 2024-03-04 01:44:11 +01:00
Games FlappyBug: Allow shortcuts for quitting and help 2024-02-19 00:09:34 +01:00
Libraries LibGfx/JBIG2: Start implementing the generic region decoding procedure 2024-03-11 16:48:57 +01:00
Services LibConfig+ConfigServer: Add permissive mode 2024-03-07 17:49:01 -05:00
Shell Shell: Use Core::Environment instead of manually iterating environ 2024-02-27 08:33:48 +00:00
Utilities Fuzzers: Add JBIG2 fuzzer 2024-03-09 16:01:22 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00