Received: from mailgate005.isp.belgacom.be (mailgate005.isp.belgacom.be [195.238.6.92])
	by maildelivery003.isp.belgacom.be (Postfix) with ESMTP id E4CA51D801E
	for <joris.at.lebbeke@skynet.be>; Thu,  4 Oct 2007 21:37:55 +0200 (CEST)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 04 Oct 2007 21:37:55 +0200
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l94JF8VJ032207;
	Thu, 4 Oct 2007 15:15:23 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l94JF4QI032198
	for <tiff@lists.maptools.org>; Thu, 4 Oct 2007 15:15:04 -0400
Received: from freddy (freddy.simplesystems.org [65.66.246.65])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	l94JEnkZ022225; Thu, 4 Oct 2007 14:14:49 -0500 (CDT)
Date: Thu, 4 Oct 2007 14:14:49 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy
To: Chris Gentle <gentlec@hiwaay.net>
Subject: Re: [Tiff] Pink pages with tiff2pdf -j
In-Reply-To: <20071004184731.GA13108@zippy.hiwaay.net>
Message-ID: <Pine.SOC.4.64.0710041400490.7786@freddy>
References: <20071004184731.GA13108@zippy.hiwaay.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002820
X-MSP-STORE: Thu, 04 Oct 2007 21:37:56 +0200
Status: RO

On Thu, 4 Oct 2007, Chris Gentle wrote:

> Hi.  I hope someone can help me out.  I have been trying to scan a
> bunch of old paperwork and convert this stuff to PDF.  Basically
> I've been scanning individual pages into *.tif files and converting
> them to PDF as follows:
>
> tiffcp *.tif /tmp/zzz.tif
> tiff2pdf -j /tmp/zzz.tif > zzz.pdf

What does 'tiffinfo' say regarding the TIFF files that you scan?
Does software like GIMP and ImageMagick display those TIFF files 
correctly?

Are you able to provide an original TIFF file and the PDF which was 
generated?

> To my surprise, I found that all of the scans I had been working on
> for so long all appeared to be pink in Acroread, ghostscript, gimp,
> etc.  I even tried converting my PDF files to other formats with
> ImageMagick but the results were still pink.

It is quite common for programs to use Ghostscript in order to read 
PDF files.  Acroread is the only program you listed which definitely 
does not.  Except for Acroread, the pink rendering could just as 
easily be blamed on something to do with Ghostscript.

> I downgraded back to KPDF 3.5.5 and it still displays the images
> properly.  I feel like this is a bug in the tiff2pdf code and that
> kpdf suffered from the same bug and displayed the PDF files
> correctly.

Quite a few bugs have been reported against tiff2pdf lately.

> I'm hoping someone who knows about the internals of this stuff can
> tell me how I can salvage all of the scans that I've converted to
> PDF.  If KPDF 3.5.5 can display the images properly then the data I
> need is still in those PDF files, I just need to turn off that pink
> layer.

The "pink" is easily removed but I would not worry about it until it 
is determined that there is really something wrong with your PDF 
files.

> Any help would be appreciated.  I'd also like to know whether anyone
> can reproduce this with tiff2pdf -j.  I'm currently using
> tiff-3.8.2.

I just tried with 3.9.0beta but did not see any pink in the output.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
