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:
parent
1de90bf55e
commit
1d0a762cdb
3 changed files with 7 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue