1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

LibGfx/TIFF: Rename BitPerSample => BitsPerSample

This is the proper name used in the spec.
This commit is contained in:
Lucas CHOLLET 2023-11-27 20:41:00 -05:00 committed by Andreas Kling
parent b2302ed23f
commit 9090290d11
Notes: sideshowbarker 2024-07-17 00:16:31 +09:00

View file

@ -53,7 +53,7 @@ Tag = namedtuple(
known_tags: List[Tag] = [
Tag('256', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [1], None, "ImageWidth"),
Tag('257', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [1], None, "ImageHeight"),
Tag('258', [TIFFType.UnsignedShort], [3], None, "BitPerSample"),
Tag('258', [TIFFType.UnsignedShort], [3], None, "BitsPerSample"),
Tag('259', [TIFFType.UnsignedShort], [1], None, "Compression", Compression),
Tag('273', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [], None, "StripOffsets"),
Tag('278', [TIFFType.UnsignedShort, TIFFType.UnsignedLong], [1], None, "RowsPerStrip"),