Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-m.b-one.net (mx-m.one.com [91.198.169.60])
	by mail9.b-one.net (Postfix) with ESMTP id A534B400A2D
	for <info@awaresystems.be>; Mon,  7 Sep 2009 13:01:39 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-m.b-one.net (Postfix) with ESMTP id 6C5B118CCA36
	for <info@awaresystems.be>; Mon,  7 Sep 2009 13:01:31 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 982CD1D18FA2B;
	Mon,  7 Sep 2009 05:58:27 -0500 (EST)
Received: from mail-px0-f197.google.com (mail-px0-f197.google.com
	[209.85.216.197])
	by lists.maptools.org (Postfix) with ESMTP id A00FA1D193CDB
	for <tiff@lists.maptools.org>; Mon,  7 Sep 2009 05:54:07 -0500 (EST)
Received: by pxi35 with SMTP id 35so2447545pxi.12
	for <tiff@lists.maptools.org>; Mon, 07 Sep 2009 03:54:06 -0700 (PDT)
Received: by 10.114.51.12 with SMTP id y12mr15322722way.33.1252320845938;
	Mon, 07 Sep 2009 03:54:05 -0700 (PDT)
Received: from ?192.168.1.7? ([118.101.95.93])
	by mx.google.com with ESMTPS id 22sm195926pzk.14.2009.09.07.03.54.02
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Mon, 07 Sep 2009 03:54:04 -0700 (PDT)
Message-Id: <D37A218A-65B3-478E-8075-F0CE3BF43667@gmail.com>
From: Peter C <peterchan.ml@gmail.com>
To: tiff@lists.maptools.org
Mime-Version: 1.0 (Apple Message framework v936)
Date: Mon, 7 Sep 2009 18:53:59 +0800
X-Mailer: Apple Mail (2.936)
Subject: [Tiff] tiff2ps : LZW compression fails for some images
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

I found some LZW compress image (postscript files)  produce by  
tiff2ps  does not interpret correctly on RIP or distiller. My current  
project requires LZW to support postscript level 2. The tests is done  
on libtiff 3.9.1 and image files is gray scale TIFF. RIP/distiller  
tested, ghostscript 8.7, Preview.app (Mac OS X) and Acrobat 9  
distiller, all fail for the some files.

Has anyone encounter this before ?

=====================

This is slightly off topic. After experimenting with many LZW encoding  
implementations, some source codes on the net and did one on my own. I  
am unable to get a reliable LZW encoding code for postscript file  
generation. Somehow it is a mystery, on how LZW is implemented for  
postscript.


Peter C.

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