1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

LibGfx/TIFF: Parse the ExifIFD tag

And add a spec link :^)
This commit is contained in:
Lucas CHOLLET 2024-01-11 22:59:41 -05:00 committed by Jelle Raaijmakers
parent 1d0a762cdb
commit cc6ca7d873
2 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,10 @@ namespace Gfx {
// First TIFF Technical notes from 1995
// https://www.awaresystems.be/imaging/tiff/specification/TIFFPM6.pdf
// This is also compatible with Exif as it is, basically, another set of TIFF tags:
// The spec is named "Exchangeable image file format for digital still cameras: Exif Version 3.0"
// And it can be found at https://www.cipa.jp/e/std/std-sec.html
namespace TIFF {
class TIFFLoadingContext;
}

View file

@ -136,6 +136,7 @@ known_tags: List[Tag] = [
Tag('317', [TIFFType.UnsignedShort], [1], Predictor.NoPrediction, "Predictor", Predictor),
Tag('320', [TIFFType.UnsignedShort], [], None, "ColorMap"),
Tag('338', [TIFFType.UnsignedShort], [], None, "ExtraSamples", ExtraSample),
Tag('34665', [TIFFType.UnsignedLong, TIFFType.IFD], [1], None, "ExifIFD"),
Tag('34675', [TIFFType.Undefined], [], None, "ICCProfile"),
]