Received: by smtp02.oce.nl (4.1/SMI-4.1)
	id AA21442; Tue, 8 Dec 98 01:40:13 +0100
Received: from sgi.sgi.com (SGI.COM [192.48.153.1])
	by oce.nl (8.9.0/8.9.0) with ESMTP id BAA05891
	for <rvdt@oce.nl>; Tue, 8 Dec 1998 01:20:23 +0100 (MET)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) 
	by sgi.sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via ESMTP id QAA02165; Mon, 7 Dec 1998 16:16:55 -0800 (PST)
	mail_from (owner-tiff@sgi.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA68673
	for tiff-list;
	Mon, 7 Dec 1998 15:25:48 -0800 (PST)
	mail_from (owner-tiff@sgi.sgi.com)
Received: from sgi.sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA91687
	for <tiff-relay@engr.sgi.com>;
	Mon, 7 Dec 1998 15:25:47 -0800 (PST)
	mail_from (owner-tiff@sgi.sgi.com)
Received: from srz-berlin.de (ns.srz-berlin.de [212.5.11.1]) 
	by sgi.sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via ESMTP id PAA06562
	for <tiff@sgi.com>; Mon, 7 Dec 1998 15:25:44 -0800 (PST)
	mail_from (H.Blischke@srz-berlin.de)
Received: from SunFrame1 (gw.srz-berlin.de [212.5.11.2])
	by srz-berlin.de (8.8.7/8.8.7) with SMTP id AAA16901;
	Tue, 8 Dec 1998 00:20:06 +0100
Message-Id: <366C61F7.3ACF@srz-berlin.de>
Date: Tue, 08 Dec 1998 00:17:11 +0100
From: Helge Blischke <H.Blischke@srz-berlin.de>
Organization: SRZ BERLIN
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
Mime-Version: 1.0
To: Matthew Lunnon <matthew@pindar.com>
Cc: "tiff@sgi.com" <tiff@sgi.com>
Subject: Re: bug report libtiff v3.4beta037
References: <19981207172214.AAA822@marvin>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@fddi-sgi.sgi.com
Precedence: bulk

Matthew Lunnon wrote:
> 
> Hi,
> 
> I'm using libtiff v3.4beta037 on a Solaris 2.6 platform.  When using the following command:
> tiff2ps -2 FYD6316009.yel.tif > junk5.ps
> to create a PostScript Level II file I consistently get the following error when viewing the file in ghost script:
> 
> Aladdin Ghostscript 5.10 (1997-11-23)
> Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> 
> Aladdin Ghostscript 5.10 (1997-11-23)
> Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Displaying DSC file G:/ad_pool/155.bak/junk5.ps
> Displaying page 1
> Unrecoverable error: limitcheck in image
> Operand stack:
>     --nostringval--
> 
> --- Begin offending input ---
>   /BitsPerComponent 8
>   /Interpolate true
>   /Decode [0 1 0 1 0 1 0 1]
>   /DataSource im_stream /LZWDecode filter
>  >> image
>  im_stream flushfile
> }
> %%BeginData:
> exec
> J,fQOp_42G"G&l^d$QpR)%VG>@8T"+8h1U37O$6I]QQ:WNQ>U-3:r)$,`kVDd[<5+=YH&aAQ
> (U2b%ii$:+"GX]_6V8S^
> --- End offending input ---
> file offset = 1030
> gsdll_execute_cont returns -13
> 
> I do hope I'm not being a complete plonker, apart from my problems with PS level 2 I have found libtiff very nice (I'm reclaiming the word) to use.
> 
> Cheers
> Matthew Lunnon

I know there's a bug in tiff2ps (already in the previous version) with
level2 output.
As I was hacking PostScript code to dieal with TIFF images directly at
that time,
I didn't bother to correkt this but and used my PS code instead.

If you're interested, you could get these PS procsets by e-mail on
request. It's
free under the GPL and includes a utility to convert TIFF images to EPS
(without preview) and could be run under both ghostscript or distiller.
The EPS is fax4 (for bilevel images) or LZW encoded and afterwards
ASCI885 encoded
to make the EPS 7 bit clean.

Helge
-- 
H.Blischke@srz-berlin.de
H.Blischke@srz-berlin.com
H.Blischke@acm.org
