Debian Bug report logs - #357291
"tiff2pdf -j" (jpeg) alters document color

version graph

Package: libtiff-tools; Maintainer for libtiff-tools is Jay Berkenbilt <qjb@debian.org>; Source for libtiff-tools is src:tiff.

Reported by: Louis-David Mitterrand <ldm@apartia.org>

Date: Thu, 16 Mar 2006 16:18:07 UTC

Severity: important

Found in version libtiff-tools/3.8.0-3

Done: Jay Berkenbilt <qjb@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Jay Berkenbilt <qjb@debian.org>:
Bug#357291; Package libtiff-tools. Full text and rfc822 format available.

Acknowledgement sent to Louis-David Mitterrand <ldm@apartia.org>:
New Bug report received and forwarded. Copy sent to Jay Berkenbilt <qjb@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Louis-David Mitterrand <ldm@apartia.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: "tiff2pdf -j" (jpeg) alters document color
Date: Thu, 16 Mar 2006 16:56:32 +0100
Package: libtiff-tools
Version: 3.8.0-3
Severity: important

Hi,

these two test documents were produced with tiff2pdf, the first one with 
zip compression: 

	"tiff2pdf -z -o test-z.pdf test.tif" 

	available at: http://zenon.apartia.fr/stuff/test-z.pdf

the second one with jpeg compression:

	"tiff2pdf -j -o test-z.pdf test.tif" 

	available at: http://zenon.apartia.fr/stuff/test-j.pdf

but the document is now pink! Its color has been wrongly altered by the 
jpeg compressor.

The source file is available at: http://zenon.apartia.fr/stuff/test.tif



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (499, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-8-debian-trajan
Locale: LANG=en_CA, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages libtiff-tools depends on:
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libjpeg62                     6b-12      The Independent JPEG Group's JPEG 
ii  libtiff4                      3.8.0-3    Tag Image File Format (TIFF) libra
ii  zlib1g                        1:1.2.3-11 compression library - runtime

libtiff-tools recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Jay Berkenbilt <qjb@debian.org>:
Bug#357291; Package libtiff-tools. Full text and rfc822 format available.

Acknowledgement sent to Louis-David Mitterrand <ldm@apartia.org>:
Extra info received and forwarded to list. Copy sent to Jay Berkenbilt <qjb@debian.org>. Full text and rfc822 format available.

Message #10 received at 357291@bugs.debian.org (full text, mbox):

From: Louis-David Mitterrand <ldm@apartia.org>
To: 357291@bugs.debian.org
Subject: Re: Bug#357291: Acknowledgement ("tiff2pdf -j" (jpeg) alters document color)
Date: Tue, 21 Mar 2006 18:19:55 +0100
The problem (altered document color) appears only when viewing with 
acroread (on Linux and Windows).



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#357291; Package libtiff-tools. Full text and rfc822 format available.

Acknowledgement sent to Jay Berkenbilt <qjb@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #15 received at 357291@bugs.debian.org (full text, mbox):

From: Jay Berkenbilt <qjb@debian.org>
To: Louis-David Mitterrand <ldm@apartia.org>
Cc: 357291@bugs.debian.org
Subject: Re: Bug#357291: Acknowledgement ("tiff2pdf -j" (jpeg) alters document color)
Date: Tue, 21 Mar 2006 19:08:23 -0500
Louis-David Mitterrand <ldm@apartia.org> wrote:

> The problem (altered document color) appears only when viewing with 
> acroread (on Linux and Windows).

Thanks for this additional information.  I am able to reproduce the
problem.  I will try to look into soon, reporting the problem upstream
if appropriate.  A 3.8.2 libtiff release is expected soon, so maybe
this can get fixed in time for that.

-- 
Jay Berkenbilt <qjb@debian.org>



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#357291; Package libtiff-tools. Full text and rfc822 format available.

Acknowledgement sent to Jay Berkenbilt <qjb@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #20 received at 357291@bugs.debian.org (full text, mbox):

From: Jay Berkenbilt <qjb@debian.org>
To: 357291@bugs.debian.org
Subject: test update
Date: Tue, 04 Apr 2006 17:46:24 -0400
I've made several attempts to update this bug, but they are not
succeeding.  This is a test message to update the bug sent from a
different network.



Information forwarded to debian-bugs-dist@lists.debian.org, Jay Berkenbilt <qjb@debian.org>:
Bug#357291; Package libtiff-tools. Full text and rfc822 format available.

Acknowledgement sent to Jay Berkenbilt <ejb@ql.org>:
Extra info received and forwarded to list. Copy sent to Jay Berkenbilt <qjb@debian.org>. Full text and rfc822 format available.

Message #25 received at 357291@bugs.debian.org (full text, mbox):

From: Jay Berkenbilt <ejb@ql.org>
To: 357291@bugs.debian.org
Subject: test update
Date: Tue, 04 Apr 2006 18:07:01 -0400
I've made several attempts to update this bug, but they are not
succeeding.  This is a test message to update the bug sent from a
different network and a different account.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#357291; Package libtiff-tools. Full text and rfc822 format available.

Acknowledgement sent to Jay Berkenbilt <qjb@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #30 received at 357291@bugs.debian.org (full text, mbox):

From: Jay Berkenbilt <qjb@debian.org>
To: 357291@bugs.debian.org
Subject: attached images
Date: Tue, 04 Apr 2006 21:15:50 -0400
Attempts to send these images as MIME attachments are not getting
through.  I'm guessing they're getting stopped by a spam filter.
Maybe uuencode will work.

--Jay

begin 664 image.jpg
M_]C_X``02D9)1@`!`0```0`!``#_VP!#``@&!@<&!0@'!P<)"0@*#!0-#`L+
M#!D2$P\4'1H?'AT:'!P@)"XG("(L(QP<*#<I+#`Q-#0T'R<Y/3@R/"XS-#+_
MVP!#`0D)"0P+#!@-#1@R(1PA,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R
M,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C+_P``1"`!D`&0#`2(``A$!`Q$!_\0`
M'P```04!`0$!`0$```````````$"`P0%!@<("0H+_\0`M1```@$#`P($`P4%
M!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M]/7V]_CY^O_$`!\!``,!`0$!`0$!`0$````````!`@,$!08'"`D*"__$`+41
M``(!`@0$`P0'!00$``$"=P`!`@,1!`4A,08205$'87$3(C*!"!1"D:&QP0DC
M,U+P%6)RT0H6)#3A)?$7&!D:)B<H*2HU-C<X.3I#1$5&1TA)2E-455976%E:
M8V1E9F=H:6IS='5V=WAY>H*#A(6&AXB)BI*3E)66EYB9FJ*CI*6FIZBIJK*S
MM+6VM[BYNL+#Q,7&Q\C)RM+3U-76U]C9VN+CY.7FY^CIZO+S]/7V]_CY^O_:
M``P#`0`"$0,1`#\`]_HHHH`****`"BBB@`HHHH`****`"BBB@`HHHH`****`
M"BBB@`HHHH`****`"BBB@`HHHH`****`"BBB@`HHHH`****`"BBB@`HHHH`*
M***`"BBB@`HHHH`****`"BBB@`HHHH`****`"BBB@`HHHH`****`"BBB@`HH
MHH`****`"BBB@`HHHH`****`"BBB@`HHHH`****`"BBB@`HHHH`****`"BBB
M@`HHHH`****`"BBB@`HHHH`****`"BBB@`HHHH`__]EE;F1S=')E86T*96YD
M;V)J"GAR968*,"`V"C`P,#`P,#`P,#`@-C4U,S4@9B`*,#`P,#`P,#`Q-2`P
M,#`P,"!N(`HP,#`P,#`P,#8T(#`P,#`P(&X@"C`P,#`P,#`Q,C,@,#`P,#`@
M;B`*,#`P,#`P,#(Y-B`P,#`P,"!N(`HP,#`P,#`P-#`W(#`P,#`P(&X@"G1R
M86EL97(@/#P@+U)O;W0@,2`P(%(@+U-I>F4@-B`O240@6SPV-S0U.&(V8F,V
M,C,W8C,R-CDY.#-C-C0W,S0X,S,V-CX\,V0S-V-C.#!A8V%C,3DQ9#`Y,C$U
F-6,R.#%F93%A9&8^72`^/@IS=&%R='AR968*,30T-`HE)45/1@H`
`
end



Reply sent to Jay Berkenbilt <qjb@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Louis-David Mitterrand <ldm@apartia.org>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #35 received at 357291-done@bugs.debian.org (full text, mbox):

From: Jay Berkenbilt <qjb@debian.org>
To: 357291-done@bugs.debian.org
Cc: 357291-submitter@bugs.debian.org
Subject: tiff2pdf -j" (jpeg) alters document color -- not a tiff bug
Date: Tue, 04 Apr 2006 21:13:28 -0400
I've tried several times to close this bug, but the messages haven't
been getting through to the BTS.  I assume it is because of the
attachments.  The attachments referenced below are not actually
attached.  I'll try to send them to the bug report in some other way
than in this message.

----------------------------------------------------------------------

Louis-David Mitterrand <ldm@apartia.org> wrote:

> The problem (altered document color) appears only when viewing with
> acroread (on Linux and Windows).

I think you may not have received my previous response since I got a
bounce that my provider had generated too much spam.  I'm hoping you
get this response.

I have been able to reproduce this problem with a trivial example that
doesn't actually involve libtiff at all: I can create a 100x100 ppm
file consisting of all white pixels except for one non-white pixel,
convert this to jpeg using cjpeg (from the jpeg library), and manually
insert the resulting jpeg file into a pdf.  Then acroread displays a
pink image where xpdf and gpdf display a white image.  This therefore
seems to be a bug in acroread and not a bug in libtiff, since the bug
can be reproduced with using libtiff at all.

I'm not sure how to report a bug to Adobe for Acrobat Reader, but I
now have a 1703-byte hand-coded PDF file that illustrates the problem.
We'll see where we can go from here.  I'm sorry that there's nothing
specific I can do to resolve this.

In case you're interested in pursuing this further through some other
channel, I've attached the PDF file and the jpeg file I manually
inserted into it to this message.  Best of luck.

-- 
Jay Berkenbilt <qjb@debian.org>



Message sent on to Louis-David Mitterrand <ldm@apartia.org>:
Bug#357291. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Jay Berkenbilt <qjb@debian.org>:
Bug#357291; Package libtiff-tools. Full text and rfc822 format available.

Acknowledgement sent to gpe <gpe92@free.fr>:
Extra info received and forwarded to list. Copy sent to Jay Berkenbilt <qjb@debian.org>. Full text and rfc822 format available.

Message #43 received at 357291@bugs.debian.org (full text, mbox):

From: gpe <gpe92@free.fr>
To: 357291@bugs.debian.org
Subject: I'm not sure that the bug is in acroread
Date: Mon, 12 Jun 2006 22:12:56 +0200
If you use tiffcp -c jpeg and then tiff2pdf without compression the pdf file is displayed with the goods colors in acroread.

-- 
+-------+
| gpe92 |
+-------+



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 19 Jun 2007 00:15:43 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 16:44:17 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.