Received: from [207.113.13.68] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Sun, 22 Aug 1999 13:36:02 -0400
Received: from localhost (bin@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) with SMTP id NAA23621;
	Sun, 22 Aug 1999 13:25:54 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Sun, 22 Aug 1999 13:25:43 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) id NAA23598
	for tiff-outgoing; Sun, 22 Aug 1999 13:25:43 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from hpamraaa.compuserve.com (mailgate@ah-img-rel-1.compuserve.com [149.174.217.152])
	by gate7.olympiakos.com (8.8.7/8.8.7) with ESMTP id NAA23595
	for <tiff@olympiakos.com>; Sun, 22 Aug 1999 13:25:40 -0400
Received: (from mailgate@localhost)
	by hpamraaa.compuserve.com (8.8.8/8.8.8/HP-REL-1.2) id NAA12088
	for tiff@olympiakos.com; Sun, 22 Aug 1999 13:25:37 -0400 (EDT)
Received: from 210MO ([212.180.5.28])
	by hpamraaa.compuserve.com (8.8.8/8.8.8/HP-REL-1.2) with SMTP id NAA12069;
	Sun, 22 Aug 1999 13:25:30 -0400 (EDT)
From: "Gilles Vollant" <info@winimage.com>
To: "'Helge Blischke'" <H.Blischke@srz-berlin.de>
Cc: <tiff@olympiakos.com>
Subject: RE: Demo of Tiff incompatibility between Paint Shop Pro and LibTiff
Date: Sun, 22 Aug 1999 19:25:28 +0200
Message-ID: <000001beecc3$548bf9b0$80ca0ac0@210MO>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2918.2701
Importance: Normal
In-Reply-To: <37C02A39.2541@srz-berlin.de>
Sender: owner-tiff@olympiakos.com

Thank for the tips.

I've also replaced

        TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, 1);
by
        TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP,
TIFFDefaultStripSize(tif, -1));

so the image file is smaller. Also the BMP example build a .TIF that is not
incompatible with Paint Shop Pro ...

-----Message d'origine-----
De : owner-tiff@olympiakos.com [mailto:owner-tiff@olympiakos.com]De la
part de Helge Blischke
Envoye : dimanche 22 aout 1999 18:50
A : Gilles Vollant
Cc : tiff@olympiakos.com
Objet : Re: Demo of Tiff incompatibility between Paint Shop Pro and
LibTiff


Gilles Vollant wrote:
>
> I've posted all the stuff about my compatiblity problem between LibTiff
> using LZW with predictor and Paint Shop Pro at
> http://www.winimage.com/tiffdemo/

I didn't try PaintShopPro but had a look into the tiffdemo.tif .
It is formally ok - i.e. it conforms to the TIFF V6 spec, but I found
the colormap has unusual values: they all are of the form
xx00 in hex, where xx is from 00 hex to ff hex.
both Photoshop and Acrobat (exchange 3.0x) can open this image and
display it correctly; saving the image from Photoshop results in
colormap values of the form xxyy hex where xx and yy are both the same
bytes.

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

