diff --git a/Userland/Libraries/LibGfx/ImageFormats/TIFFLoader.h b/Userland/Libraries/LibGfx/ImageFormats/TIFFLoader.h index f8f75e9dee..59b4ee0f8e 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 +// Second TIFF Technical notes from 1995 +// The document is the second (and current) specification for embedded JPEGs in TIFF images. +// https://www.awaresystems.be/imaging/tiff/specification/TIFFTechNote2.txt + // 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 diff --git a/Userland/Libraries/LibGfx/TIFFGenerator.py b/Userland/Libraries/LibGfx/TIFFGenerator.py index ceead495e9..c42b86f04e 100755 --- a/Userland/Libraries/LibGfx/TIFFGenerator.py +++ b/Userland/Libraries/LibGfx/TIFFGenerator.py @@ -55,7 +55,8 @@ class Compression(EnumWithExportName): Group3Fax = 3 Group4Fax = 4 LZW = 5 - JPEG = 6 + OldJPEG = 6 + JPEG = 7 AdobeDeflate = 8 PackBits = 32773 PixarDeflate = 32946 # This is the old (and deprecated) code for AdobeDeflate