Browse Source

LibGfx/TIFF: Sort tags in the `known_tags` list

The intruder comes from 5b62d877.
Lucas CHOLLET 1 year ago
parent
commit
b7bce816b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Userland/Libraries/LibGfx/TIFFGenerator.py

+ 1 - 1
Userland/Libraries/LibGfx/TIFFGenerator.py

@@ -134,13 +134,13 @@ known_tags: List[Tag] = [
     Tag('284', [TIFFType.UnsignedShort], [1], PlanarConfiguration.Chunky, "PlanarConfiguration", PlanarConfiguration),
     Tag('285', [TIFFType.ASCII], [], None, "PageName"),
     Tag('296', [TIFFType.UnsignedShort], [1], ResolutionUnit.Inch, "ResolutionUnit", ResolutionUnit),
-    Tag('339', [TIFFType.UnsignedShort], [], SampleFormat.Unsigned, "SampleFormat", SampleFormat),
     Tag('305', [TIFFType.ASCII], [], None, "Software"),
     Tag('306', [TIFFType.ASCII], [20], None, "DateTime"),
     Tag('315', [TIFFType.ASCII], [], None, "Artist"),
     Tag('317', [TIFFType.UnsignedShort], [1], Predictor.NoPrediction, "Predictor", Predictor),
     Tag('320', [TIFFType.UnsignedShort], [], None, "ColorMap"),
     Tag('338', [TIFFType.UnsignedShort], [], None, "ExtraSamples", ExtraSample),
+    Tag('339', [TIFFType.UnsignedShort], [], SampleFormat.Unsigned, "SampleFormat", SampleFormat),
     Tag('34665', [TIFFType.UnsignedLong, TIFFType.IFD], [1], None, "ExifIFD"),
     Tag('34675', [TIFFType.Undefined], [], None, "ICCProfile"),
 ]