1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

LibGfx/TIFF: Accept the PixarDeflate compression tag

I would have liked to avoid adding a deprecated tag but this is the one
currently in use in Krita.
This commit is contained in:
Lucas CHOLLET 2024-01-16 00:01:34 -05:00 committed by Andreas Kling
parent 3afbf66295
commit 284e785053
2 changed files with 3 additions and 1 deletions

View file

@ -354,7 +354,8 @@ private:
TRY(loop_over_pixels(move(decode_lzw_strip)));
break;
}
case Compression::AdobeDeflate: {
case Compression::AdobeDeflate:
case Compression::PixarDeflate: {
// This is an extension from the Technical Notes from 2002:
// https://web.archive.org/web/20160305055905/http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf
ByteBuffer decoded_bytes {};