1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibGfx/TIFF: Add support for the IFD type

As described in the first edition of the TIFF technical notes, the IFD
type is identical to Long (UnsignedLong) except that it only contains
offset of valid IFDs.

https://www.awaresystems.be/imaging/tiff/specification/TIFFPM6.pdf
This commit is contained in:
Lucas CHOLLET 2024-01-11 22:34:39 -05:00 committed by Jelle Raaijmakers
parent 1de90bf55e
commit 1d0a762cdb
3 changed files with 7 additions and 1 deletions

View file

@ -468,6 +468,7 @@ private:
}
case Type::UnsignedShort:
return read_every_values.template operator()<u16>();
case Type::IFD:
case Type::UnsignedLong:
return read_every_values.template operator()<u32>();
case Type::UnsignedRational: