ladybird/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF
Nico Weber ab7da32d25 LibGfx/JPEG2000: Support jpx extended 'colr' boxes
The T.800 spec says there should only be one 'colr' box, but the
extended jpx file format spec in T.801 annex M allows having multiple.

Method 2 is a basic ICC profile, while method 3 (jpx-only) allows full
ICC profiles. Support that.

For the test, I opened buggie.png in Photoshop, converted it to
grayscale, and saved it as a JPEG2000, with "JP2 Compatible" checked
and "Include Transparency" unchecked. I also unchecked "Include
Metadata", and "Lossless". I left "Fast Mode" checked and the quality
at the default 50.
2024-03-30 10:01:07 +01:00
..
Boxes.cpp LibGfx/ISOBMFF: Implement UserExtensionBox 2024-03-26 17:19:03 -04:00
Boxes.h LibGfx/ISOBMFF: Implement UserExtensionBox 2024-03-26 17:19:03 -04:00
BoxStream.h LibGfx/ISOBMFF: Make BoxStream MaybeOwn its stream 2024-03-25 20:35:00 +01:00
Enums.h LibGfx/ISOBMFF: Add JPEG2000 box types 2024-03-25 20:35:00 +01:00
JPEG2000Boxes.cpp LibGfx/JPEG2000: Support jpx extended 'colr' boxes 2024-03-30 10:01:07 +01:00
JPEG2000Boxes.h LibGfx/ISOBMFF: Implement JPEG2000DefaultDisplayResolutionBox 2024-03-26 17:19:03 -04:00
Reader.cpp LibGfx/ISOBMFF: Print box type if a box fails to consume all its data 2024-03-30 10:01:07 +01:00
Reader.h LibGfx/ISOBMFF: Give Reader::read_entire_file() a factory callback 2024-03-25 20:35:00 +01:00