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

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"),