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

--- Comment #4 from Anselm Lingnau <anselm+...@anselms.net> ---
Well, the EXIF standard
(http://cipa.jp/std/documents/download_e.html?DC-008-Translation-2019-E) says,
in section 4.5.4, “Basic Structure of JPEG Compressed Data”: “Compressed data
files shall be recorded in conformance with the JPEG DCT format specified in
ISO/IEC 10918-1, with the Application Marker Segment (APP1) inserted. APP1
shall be recorded immediately after the SOI marker indicating the beginning of
the file”. This means that according to the standard, a file that has an APP0
(JFIF) marker segment immediately after the SOI marker and the APP1 segment
after the APP0 segment is in error.

I would suggest that Digikam should either omit the EXIF information altogether
when it writes JFIF (ff d8 ff e0) files for inclusion in e-mail, or else do it
like it says in the relevant standard, i.e., leave out the APP0 marker segment
and write only an APP1 segment with EXIF data.

I wrote a patch for jpegexiforient, but the jpeg-turbo guy said he wasn't going
to take it because it would encourage sloppy implementations of the standard. I
can see where he's coming from, but I'd also like this problem fixed. I'd much
rather not see this devolve into a game of finger-pointing where everyone says
the mistake is on the other side.

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

Reply via email to