mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:47:34 +00:00
LibGfx/TIFF: Add support for images with UnassociatedAlpha
UnassociatedAlpha is the one used by GIMP when generating TIFF images with transparency. Support is added for Grayscale and RGB images as it's the two that we support right now but managing transparency should be really straightforward for other types as well.
This commit is contained in:
parent
796ece7b35
commit
2cfca633ca
4 changed files with 58 additions and 9 deletions
BIN
Tests/LibGfx/test-inputs/tiff/grayscale_alpha.tiff
Normal file
BIN
Tests/LibGfx/test-inputs/tiff/grayscale_alpha.tiff
Normal file
Binary file not shown.
BIN
Tests/LibGfx/test-inputs/tiff/rgb_alpha.tiff
Normal file
BIN
Tests/LibGfx/test-inputs/tiff/rgb_alpha.tiff
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue