1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibGfx/TIFF+CCITT: Clarify naming of compression type 2

Type 2 <=> One-dimensional Group3, customized for TIFF
Type 3 <=> Two-dimensional Group3, uses the original 1D internally
Type 4 <=> Two-dimensional Group4

So let's clarify that this is not Group3 1D but the TIFF variant, which
is called `CCITTRLE` in libtiff. So let's stick with this name to avoid
confusion.
This commit is contained in:
Lucas CHOLLET 2024-01-15 00:46:10 -05:00 committed by Andreas Kling
parent 9b50b5793b
commit edffdc35a9
6 changed files with 9 additions and 9 deletions

View file

@ -51,7 +51,7 @@ class Predictor(EnumWithExportName):
class Compression(EnumWithExportName):
NoCompression = 1
CCITT = 2
CCITTRLE = 2
Group3Fax = 3
Group4Fax = 4
LZW = 5