1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibGfx/TIFF: Add support for the ICCProfile tag

This commit is contained in:
Lucas CHOLLET 2023-11-28 21:16:43 -05:00 committed by Andreas Kling
parent 5622e7d77c
commit 4994609af0
5 changed files with 26 additions and 0 deletions

View file

@ -59,6 +59,7 @@ known_tags: List[Tag] = [
Tag('278', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [1], None, "RowsPerStrip"),
Tag('279', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [], None, "StripByteCounts"),
Tag('317', [TIFFType.UnsignedShort], [1], Predictor.NoPrediction, "Predictor", Predictor),
Tag('34675', [TIFFType.Undefined], [], None, "ICCProfile"),
]
HANDLE_TAG_SIGNATURE_TEMPLATE = ("ErrorOr<void> {namespace}handle_tag(Metadata& metadata, u16 tag,"