Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (ak4719.spb.edu [127.0.0.1])
	by ak4719.spb.edu (8.12.1/8.12.1/Debian -5) with ESMTP id h3G6tBNG018767
	for <dron@localhost>; Wed, 16 Apr 2003 10:55:25 +0400
Received: from pop.in02.prd.whowhere.com [209.202.220.196]
	by localhost with POP3 (fetchmail-6.2.0)
	for dron@localhost (single-drop); Wed, 16 Apr 2003 10:55:25 +0400 (MSD)
Received: from gate7.olympiakos.com ([64.32.199.150]) by whowhere.com; Tue, 15 Apr 2003 20:50:13 -0000
X-Envelope-Sender: owner-tiff@olympiakos.com
Received: by gate7.olympiakos.com (Postfix, from userid 65534)
	id C5073110B3; Tue, 15 Apr 2003 16:50:08 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
	by gate7.olympiakos.com (Postfix) with SMTP
	id AD6F811095; Tue, 15 Apr 2003 16:50:08 -0400 (EDT)
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Tue, 15 Apr 2003 16:49:48 -0400
Delivered-To: tiff-outgoing@gate7.olympiakos.com
Received: by gate7.olympiakos.com (Postfix, from userid 16)
	id 02D861109D; Tue, 15 Apr 2003 16:49:47 -0400 (EDT)
Delivered-To: tiff@olympiakos.com
Received: from mall400.com (ns1.mall400.com [63.167.147.2])
	by gate7.olympiakos.com (Postfix) with ESMTP id A940A11095
	for <tiff@olympiakos.com>; Tue, 15 Apr 2003 16:49:46 -0400 (EDT)
Received: from [216.114.221.189] (account bvstone@bvstools.com HELO elite1)
  by mall400.com (CommuniGate Pro SMTP 3.4.8)
  with ESMTP id 701206 for tiff@olympiakos.com; Tue, 15 Apr 2003 15:41:52 -0500
From: "Bradley V. Stone" <bvstone@bvstools.com>
To: <tiff@olympiakos.com>
Subject: Newbie: Cannot read TIFF header error once in a while
Date: Tue, 15 Apr 2003 15:52:26 -0500
Message-ID: <GJEKKLCGMAMEKHAGLKEPEEANCLAA.bvstone@bvstools.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 1065
Lines: 31

Hi.

I've got the LIBTIFF functions compiled on an AS/400 and am using it to
convert TIFF images created from Host Print Transform into PDF files.

For the most part it is working brilliantly.  But, every now and then I
receive the error:

"Cannot read TIFF header"

Now, I have verified in these cases that the TIFF does exist and is valid.
It is viewable and verified it with tiffinfo.

The funny thing is, the first call fails with this error, and the next time
I try it it runs fine... no errors.

Not being a C guru, I'm just looking for a little guidance as to what would
cause this.  I've looked through the code but at this point is a little too
in-depth for my "business programming" experience.

Any help would be great.  For example,
"what would cause this error is xx, or xx, or xx"  That way I can look at
what the problem may be, and understand the code a little better.

Thanks a milion!

Brad


To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

