Package: pdftk
Version: 2.02-2
Severity: important

Hello everyone!

The current version of pdftk (2.02) corrupts images when using the
'compress' option. This behavior did not happen in 1.44-7 (Wheezy).

Here is a minimal example to reproduce on Jessie, with pdftk 2.02:

    $ wget -O 1-input.pdf 
https://www.dropbox.com/s/dxn62yuiyvkyvt1/1-input.pdf?dl=1
    $ pdftk 1-input.pdf output 2-corrupted-pdftk-2.02.pdf compress

The output shows severe graphical corruption:
https://www.dropbox.com/s/d1rdoso5lxzju5c/2-corrupted-pdftk-2.02.pdf?dl=1
However, pdftk version 1.44-7 works fine. On a Wheezy machine:

    $ pdftk 1-input.pdf output 2-ok-pdftk-1.44-7.pdf compress

The output is OK: 
https://www.dropbox.com/s/cmag646yrkqz54l/2-ok-pdftk-1.44-7.pdf?dl=1

Note that leaving off 'compress' also resolves the issue.

We found this bug when we were using pdftk to sanitize 600 papers for
a large computer vision conference. A few days after all the papers
were posted to the website, some of our authors noticed and complained
to us -- oops! Downgrading pdftk resolved our issue. :)

The effects of corruption are typically minor, so it is hard to
find a PDF file that shows this behavior. The example I link above is
the worst offender, but this affected a significant fraction of our PDF
files in the proceedings for our conference to varying degrees.

Marking this bug as 'important' because this option silently causes data loss.

Does anyone know where/how/whether to submit this upstream?


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pdftk depends on:
ii  libc6       2.19-18
ii  libgcc1     1:4.9.2-10
ii  libgcj15    4.9.2-10
ii  libstdc++6  4.9.2-10

pdftk recommends no packages.

Versions of packages pdftk suggests:
pn  xpdf-utils  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to