Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 145055
Alias:
Product:
Component:
Status: REOPENED
Resolution:
Assigned To: Steve Arnold <nerdboy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Syed Amer Gilani <amg@systec.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145055 depends on: Show dependency tree
Bug 145055 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-25 02:25 0000
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.6)
Gecko/20060805 Firefox/1.5.0.6
Build Identifier: 

pdfs created from tiffs with tiff2pdf -j are display pink in Acrobad Reader
under Linux and Windows. Other pdf Viewers displays the pdf correct. This only
happens with jpeg compression, zip compression is fine.

Reproducible: Always

Steps to Reproduce:
1. tiff2pdf -j -o somepdf.pdf sometiff.tif
2. open with acroread


Actual Results:  
the image has a pink touch

Expected Results:  
normal picture

Debian has a bugreport already with some sample pdfs and additional
information:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357291

------- Comment #1 From Steve Arnold 2006-12-04 21:46:54 0000 -------
This appears to be a bug in tiff2pdf's zip compression code (reported
upstream), however, there also appears to be a workaround by using tiffcp to
compress the file first, then use tiff2pdf without compression.  E.g, try:

tiffcp -c jpeg -o some_other.tif sometiff.tif

tiff2pdf -o somepdf.pdf some_other.tif

------- Comment #2 From Raphael Mankin 2008-06-08 18:33:24 0000 -------
*** Bug 224739 has been marked as a duplicate of this bug. ***

------- Comment #3 From Johannes H. 2008-09-08 02:56:31 0000 -------
This seems to be fixed in version 4.0.0. Please read here:
https://bugs.launchpad.net/ubuntu/+source/tiff/+bug/194295 (the last entries).
Is it possible to add a patch or put the new version in the portage-tree?

------- Comment #4 From Markus Meier 2008-09-19 22:44:04 0000 -------
this issue should be fixed in media-libs/tiff-3.8.2-r5 (which will hit the
mirrors in a few hours). please reopen if not fixed.

------- Comment #5 From Johannes H. 2008-09-20 13:46:11 0000 -------
Sorry, not fixed :(

The problem still exists.

'tiffcp -r 16 -c jpeg:80 test.tiff jpeg.tiff
tiff2pdf jpeg.tiff > pdf.pdf'

works, but

'tiff2pdf -j test.tiff > test.pdf'  still has wrong colors.

A friend who uses Ubuntu has the same problem. If he creates a pdf with
tiff2pdf and compression, the resulting pdf has the colors wrong. But on his
system all is fine. If I open the pdf with kpdf it is not. The link I posted
earlier leads to a post from a Debian-maintainer, so I think this fix is also
present in Ubuntu.

The problem now is that libtiff is still broken, but Debian/Ubuntu do not have
a problem with this? Maybe the problem is not only in the tiff2pdf-code?

PS: I am unable to reopen the bug. I can only leave the status as RESOLVED
FIXED

------- Comment #6 From Markus Meier 2008-09-20 13:49:33 0000 -------
reopen then

------- Comment #7 From Markus Meier 2008-09-21 11:45:15 0000 -------
(In reply to comment #5)
> A friend who uses Ubuntu has the same problem. If he creates a pdf with
> tiff2pdf and compression, the resulting pdf has the colors wrong. But on his
> system all is fine. If I open the pdf with kpdf it is not. The link I posted
> earlier leads to a post from a Debian-maintainer, so I think this fix is also
> present in Ubuntu.
> 
> The problem now is that libtiff is still broken, but Debian/Ubuntu do not have
> a problem with this? Maybe the problem is not only in the tiff2pdf-code?

I basically updated the tiff2pdf.c file in the source to the latest version of
the 3.8/3.9 branch, which should fix the issue. right now, I don't really know
why this is still unfixed, I'll have to compare to the debian patchset.

------- Comment #8 From Christian Faulhammer 2009-07-09 08:21:36 0000 -------
(In reply to comment #7)
> (In reply to comment #5)
> I basically updated the tiff2pdf.c file in the source to the latest version of
> the 3.8/3.9 branch, which should fix the issue. right now, I don't really know
> why this is still unfixed, I'll have to compare to the debian patchset.

 Any news on this, Markus?

------- Comment #9 From Markus Meier 2009-10-03 08:53:18 0000 -------
is this still present in media-libs/tiff-3.9.1?

------- Comment #10 From Samuli Suominen 2009-11-05 18:29:43 0000 -------
(In reply to comment #9)
> is this still present in media-libs/tiff-3.9.1?
> 

Let's rephrase:

Is this still present with 3.9.2 and with jpeg-7 combo?

------- Comment #11 From Syed Amer Gilani 2009-11-10 12:37:34 0000 -------
It is not fixed

Tested with:
media-libs/jpeg-7
media-libs/tiff-3.9.1  USE="jpeg zlib -jbig -nocxx"

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug