diff --git a/Userland/Libraries/LibGfx/ImageFormats/TIFFLoader.h b/Userland/Libraries/LibGfx/ImageFormats/TIFFLoader.h index 99a1245b58..93bcdf32a5 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/TIFFLoader.h +++ b/Userland/Libraries/LibGfx/ImageFormats/TIFFLoader.h @@ -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; } diff --git a/Userland/Libraries/LibGfx/TIFFGenerator.py b/Userland/Libraries/LibGfx/TIFFGenerator.py index cc7e757bc2..3ab5a4d814 100755 --- a/Userland/Libraries/LibGfx/TIFFGenerator.py +++ b/Userland/Libraries/LibGfx/TIFFGenerator.py @@ -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"), ]