Your message dated Mon, 30 Jun 2014 12:34:02 +0000
with message-id <[email protected]>
and subject line Bug#530780: fixed in libjpeg8 8d1-1
has caused the Debian Bug report #530780,
regarding jpegtran is NOT lossless with Exif data by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
530780: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530780
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libjpeg-progs
Version: 6b-14
Severity: grave

From the man page:
        NAME
               jpegtran - lossless transformation of JPEG files
        ...
               ... But by the same token, jpegtran cannot perform lossy 
operations
               such as changing the image quality.
        ...
               -copy comments
                      Copy only comment markers.  This setting  copies  
comments  from
                      the source file, but discards any other inessential data.
        
               -copy all
                      Copy  all  extra  markers.  This setting preserves 
miscellaneous
                      markers found in the source file, such as Exif data, JFIF 
thumb‐
                      nails and Photoshop settings.  In some files these extra 
markers
                      can be sizable.
        
                      The default behavior is -copy comments.

As you can see, jpegtran explicitly claims to be lossless. It even
further claims it "cannot perform lossy operations". (I realize now
that's only talking about image data.) But, the default for extra marker
copying is "-copy comment", which drops Exif data. This means that every
picture I've rotated with jpegtran has lost its Exif data. Luckily, I
probably don't need it that bad, but I was using this tool explicitly
because it's supposedly lossless.

I realize that the man page is clear about the default value of -copy,
but who reads an entire man page to find the one option that makes the
description under NAME untrue?

I propose these possible solutions, in order of preference:
     1. Add a new argument to copy that behaves like -copy all, but
        *updates* the JFIF thumbnail after transforming the image. Make
        this option the default.
     2. Add a new argument to copy that behaves like -copy all, but
        *drops* (does not copy) the JFIF thumbnails. Make this option
        the default.
     3. Make -copy all the default.
     4. Add a new argument to copy that behaves like -copy comments, but
        also copies exif markers. Make this option the default. The
        first patch here might be useful, though I'm not sure if it also
        copies comments:
        https://bugzilla.redhat.com/show_bug.cgi?id=106060
     5. Add an asterisk after lossless at the top of the man page and
        then add a note under it such as, '* The only extra markers
        copied by default are comments. This means certain data (Exif
        data, JFIF thumbnails, Photoshop settings, etc.) will be lost.
        To copy all extra markers, see the "-copy all" argument.'

Severity "grave" based on the fact that this causes data loss.

Richard

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: libjpeg8
Source-Version: 8d1-1

We believe that the bug you reported is fixed in the latest version of
libjpeg8, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bill Allombert <[email protected]> (supplier of updated libjpeg8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 29 Jun 2014 23:47:24 +0200
Source: libjpeg8
Binary: libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs
Architecture: source amd64
Version: 8d1-1
Distribution: unstable
Urgency: low
Maintainer: Bill Allombert <[email protected]>
Changed-By: Bill Allombert <[email protected]>
Description:
 libjpeg-progs - Programs for manipulating JPEG files
 libjpeg8   - Independent JPEG Group's JPEG runtime library
 libjpeg8-dbg - Development files for the IJG JPEG library
 libjpeg8-dev - Development files for the IJG JPEG library
Closes: 478787 530780 612546 751424
Changes:
 libjpeg8 (8d1-1) unstable; urgency=low
 .
   * The "Manoé" release
   * New bugfix upstream release
     - patch fix-CVE-2013-6629_6630: removed
   * new patch improve-jpegtran-manpages:
     - clarify jpegran behavior with exif images
       Suggested by Richard Laager. closes: #530780, #612546, #478787
   * debian/control, debian/rules:
     - Apply patch by Mauricio Faria de Oliveira to use dh_autoreconf
       closes: #751424
   * debian/control:
     - Bump standard version to 3.9.5.
   * debian/copyright:
     - Add new upstream URL
   * debian/watch: added
   * debian/rules:
     - Use dh_prep instead of dh_clean -k
     - Do not use -D_REENTRANT
     - Add -Wl,-z,relro to LDFLAGS
     - Install README.8d1
Checksums-Sha1:
 85b1ec68dc60a8b69c2d7f95823a8c1cbe06a1b9 1874 libjpeg8_8d1-1.dsc
 13553b2dba20cb059b10c74ddd00f5395e4f9cee 1022430 libjpeg8_8d1.orig.tar.gz
 cd3cc7d4277c786546198434e00432514cf1807b 13700 libjpeg8_8d1-1.debian.tar.xz
 139c25822eb28b04783adcd156c034d01fddc36f 119296 libjpeg8_8d1-1_amd64.deb
 d04c3a07b172d00922d527f41263445f445150b0 216380 libjpeg8-dev_8d1-1_amd64.deb
 554ec33679b1025a3114db7ed6cb187b90ef946f 265226 libjpeg8-dbg_8d1-1_amd64.deb
 39f1ab98219c02201e4c924657f53587a0ee0d4a 79062 libjpeg-progs_8d1-1_amd64.deb
Checksums-Sha256:
 e929ae066426dfe1f7f083357fb6a6004954b2f780f5a58508cd3f63835cb7bf 1874 
libjpeg8_8d1-1.dsc
 02e22e94dba740a490ba7813a5ac7e9c7e7a5abb0d61ee2ce22742f92419c4d7 1022430 
libjpeg8_8d1.orig.tar.gz
 693e45001be1fe7cf11249fb572783a796dfa22e8f00572ce7a554e87fa89f0a 13700 
libjpeg8_8d1-1.debian.tar.xz
 c21d22cd9e463aa590477d5741b404d67a7a8f9a8160f55cd564377c9abda50a 119296 
libjpeg8_8d1-1_amd64.deb
 e11107ef60c6e17be0e3b60830858e4bbbd19989ccfef5be49557114f13c6cb0 216380 
libjpeg8-dev_8d1-1_amd64.deb
 c602e1e951d6ca66cf64c00cf2294bf3276e49ad9c8da8ec679786256f85a8fe 265226 
libjpeg8-dbg_8d1-1_amd64.deb
 ddc0b9e60c0f54d775fd9c7b8e9acb0320b88006a29e0f21b4b424066a682418 79062 
libjpeg-progs_8d1-1_amd64.deb
Files:
 e0c142c16ce8797fbaa2cc15172eed6c 119296 libs optional libjpeg8_8d1-1_amd64.deb
 4f42ed4482b93b984cc816a858e898b3 216380 libdevel optional 
libjpeg8-dev_8d1-1_amd64.deb
 4a8fd8e2202e7d0da27a738b666ba1a8 265226 debug extra 
libjpeg8-dbg_8d1-1_amd64.deb
 239967d0f6a5ab1ce3d32c2cdfe17eb3 79062 graphics optional 
libjpeg-progs_8d1-1_amd64.deb
 2d44b2d1982f2e5c178fbe16c49397d3 1874 graphics optional libjpeg8_8d1-1.dsc
 964d0dc8b4789acd32ec1431ca85171d 1022430 graphics optional 
libjpeg8_8d1.orig.tar.gz
 5ebca5c6b85bbfcccf38253428471356 13700 graphics optional 
libjpeg8_8d1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTsTFMAAoJEI8OfCtFIuOH4xAP/1DFv7pvWw3yQ2i6w+dlReNO
7kU+sPLMONfcVGd8ec4858MrJTSu7FYCdrrCDMaxTz9KNw8phJp9sXowAdihtW7h
rGK5OCxcRn7goHF0I0tALInK4Sz8xalWyWbhtRIXyxtRU+6bbdR0OsW3vuA+7n0r
qG+Q7VxLMSCNsK7PtfS2kTXCtZJi+1KyX3V4B0vb/6STmw/+FdHGL8D8pPWV9J/S
HqD7qDtSSsw6dHYW1Toa9enFLPyrLPAfiWWXgSpc0tVMx2RYfW/Nq9PAWv3CazIx
mnDmCDDgS8IHmSmoU91CgONaxffz98EpyKDgHD620HF58t1fMtxlbbl+49ogWI0V
sy3MmNYOL+HPZfCB85flTbtXEkb+F+xV5pIMXcn4BCrmdYKH5f4g9nL0MHXuiA3a
sd1WVuvUED5qJKsOEAShaueG85NftwcdYUp+0/eQ+uWgxIsjNZFg6fZik7wMoSPf
5Z/HbDpqQ/lmXlTH1vlj8zRx2CHt4+4EDqURinUbpxdq+JyK3FpSrxy0ghtPtKsV
ZAyEmkmyAvkn+9yQRd8s0M2HAm4gJSC+4A0mcuymlrM1YyfldrAususgJ1DOx1M9
5ChsfByG+eMW7AGJUHXbtD/81VBNsAsG29GTrGTQUzI7eeeiE8lu1CWmm1zlMF7I
TPa/JYVtbEw+kOESfeQM
=qC1c
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to