1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibGfx/TIFF: Rename ImageHeight => ImageLength

This is the name used in the TIFF specification. No behavior change.
This commit is contained in:
Lucas CHOLLET 2024-02-09 20:48:11 -05:00 committed by Jelle Raaijmakers
parent f5e7ee8d4a
commit c4e8e5c4a6
2 changed files with 7 additions and 7 deletions

View file

@ -124,7 +124,7 @@ Tag = namedtuple(
# FIXME: Some tag have only a few allowed values, we should ensure that
known_tags: List[Tag] = [
Tag('256', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [1], None, "ImageWidth", is_required=True),
Tag('257', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [1], None, "ImageHeight", is_required=True),
Tag('257', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [1], None, "ImageLength", is_required=True),
Tag('258', [TIFFType.UnsignedShort], [], None, "BitsPerSample", is_required=True),
Tag('259', [TIFFType.UnsignedShort], [1], None, "Compression", Compression, is_required=True),
Tag('262', [TIFFType.UnsignedShort], [1], None, "PhotometricInterpretation",