mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:48:11 +00:00
![]() TIFF files are made in a way that make them easily extendable and over the years people have made sure to exploit that. In other words, it's easy to find images with non-standard tags. Instead of returning an error for that, let's skip them. Note that we need to make sure to realign the reading head in the file. The test case was originally a 10x10 checkerboard image with required tags, and also the `DocumentName` tag. Then, I modified this tag in a hexadecimal editor and replaced its id with 30 000 (0x3075 as a LE u16) and the type with the same value as well. This is AFAIK, never used as a custom TIFF tag, so this should remain an invalid tag id and type. |
||
---|---|---|
.. | ||
bmp | ||
dds | ||
icc | ||
ico | ||
ilbm | ||
jpg | ||
jxl | ||
png | ||
pnm | ||
tga | ||
tiff | ||
tvg | ||
webp | ||
woff | ||
woff2 | ||
download-animation.gif | ||
loop_forever.avif | ||
serenity.ico | ||
TestFont.font |