mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
LibGfx/TIFF: Allow any number of values for the tag BitsPerSample
Only some specific number of values should be allowed, but let's accept everything for now and add these checks when the generator will be more mature.
This commit is contained in:
parent
ff73d5464a
commit
d9b69c644e
1 changed files with 1 additions and 1 deletions
|
@ -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, "BitsPerSample"),
|
||||
Tag('258', [TIFFType.UnsignedShort], [], 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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue