https://bugs.kde.org/show_bug.cgi?id=415460

--- Comment #10 from Maik Qualmann <metzping...@gmail.com> ---
I just stumbled across this interesting site because Exiv2 referred to it. For
me, jpegexiforient is faulty because it only wants to process APP1.

From: https://www.codeproject.com/Articles/43665/ExifLibrary-for-NET
---
JPEG ("Joint Photographic Experts Group") is the committee that created the
JPEG standard. It is also the name of the compression method (the codec)
defined by the JPEG committee. JPEG is not a file format. (Actually, there is a
"pure" file format – JPEG Interchange Format, JIF – described in the original
JPEG specification. But it is rarely used.) The most widely used file formats
containing JPEG compression are JFIF (JPEG File Interchange Format) and Exif
(Exchangeable Image File Format). In everyday use, JPEG usually means a JFIF or
an Exif image file.

The difference between JFIF and Exif file formats is that JFIF files use
Application Marker 0 (APP0) sections to store metadata, whereas Exif files use
Application Marker 1 (APP1) sections. The two file formats are incompatible
because they both specify that their sections (APP0 and APP1) must be the first
in the image file. In practice, however, Exif files usually include an APP0
section at the start of the image file. This does not comply with the Exif
standard, but allows old JFIF readers to read the image file.

A modern JFIF or Exif reader must not assume a particular order for APPn
sections. It should read the entire file and process APPn sections as it
encounters them. Additionally, APPn sections might not be unique. For example,
there might be more than one APP1 section in a JPEG/Exif file.
----

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to