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
Nico Weber
b3c423e4ca
LibGfx/ISOBMFF: Implement JPEG2000DefaultDisplayResolutionBox
...
Found e.g. in http://opf-labs.org/format-corpus/jp2k-formats/balloon.jpf
2024-03-26 17:19:03 -04:00
Nico Weber
a9ef2fac01
LibGfx/ISOBMFF: Introduce JPEG2000ResolutionSubboxBase
...
No behavior change.
2024-03-26 17:19:03 -04:00
Nico Weber
1e95c08db5
LibGfx/ISOBMFF: Add JPEG2000ChannelDefinitionBox
2024-03-25 20:35:00 +01:00
Nico Weber
f080836127
LibGfx/ISOBMFF: Add JPEG2000URLBox
2024-03-25 20:35:00 +01:00
Nico Weber
c58996f4fc
LibGfx/ISOBMFF: Add JPEG2000ContiguousCodestreamBox
2024-03-25 20:35:00 +01:00
Nico Weber
f372a9b346
LibGfx/ISOBMFF: Add JPEG2000UUIDListBox
2024-03-25 20:35:00 +01:00
Nico Weber
4a95e55fb3
LibGfx/ISOBMFF: Add JPEG2000CaptureResolutionBox
2024-03-25 20:35:00 +01:00
Nico Weber
b386d5bb14
LibGfx/ISOBMFF: Add JPEG2000ResolutionBox
2024-03-25 20:35:00 +01:00
Nico Weber
7d137dc480
LibGfx/ISOBMFF: Add JPEG2000UUIDInfoBox
2024-03-25 20:35:00 +01:00
Nico Weber
214ff799ce
LibGfx/ISOBMFF: Add JPEG2000ColorSpecificationBox
2024-03-25 20:35:00 +01:00
Nico Weber
59bd378db8
LibGfx/ISOBMFF: Add JPEG2000ImageHeaderBox
2024-03-25 20:35:00 +01:00
Nico Weber
78deac3dca
LibGfx/ISOBMFF: Give Reader::read_entire_file() a factory callback
...
This will allow creating different child boxes in different containers.
2024-03-25 20:35:00 +01:00
Nico Weber
c84487ed2d
LibGfx/ISOBMFF: Give JPEG2000HeaderBox its own type
...
...and make SuperBox a pure superclass that's not usable by itself.
2024-03-25 20:35:00 +01:00
Nico Weber
65bd090815
LibGfx/ISOBMFF: Start creating JPEG2000 box types
...
`isobmff` can now dump the id in a JPEG2000SignatureBox.
Creates JPEG2000Boxes.{h,cpp} to house JPEG2000 box types.
2024-03-25 20:35:00 +01:00