1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

LibGfx/TIFF: Add AdobeDeflate compression support

This new compression is quite popular and uses a basic Zlib compression
to compress strips. Note that this is not part of the original TIFF
specification but in the Technical Notes from 2002:
https://web.archive.org/web/20160305055905/http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf

The test case was generated with GIMP.
This commit is contained in:
Lucas CHOLLET 2023-12-23 00:09:26 -05:00 committed by Tim Schumacher
parent 9c5a75067f
commit 73c8b4865e
4 changed files with 29 additions and 0 deletions

View file

@ -47,6 +47,7 @@ class Compression(EnumWithExportName):
Group4Fax = 4
LZW = 5
JPEG = 6
AdobeDeflate = 8
PackBits = 32773