Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-e.b-one.net (mx-e.one.com [91.198.169.52])
	by mail9.b-one.net (Postfix) with ESMTP id 0236C40011B
	for <info@awaresystems.be>; Sun, 14 Dec 2008 07:07:52 +0100 (CET)
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: from auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-e.b-one.net (Postfix) with ESMTP id 550E1C2DC37
	for <info@awaresystems.be>; Sun, 14 Dec 2008 07:07:51 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 6453B1CEDFDCD;
	Sun, 14 Dec 2008 06:02:15 +0000 (UTC)
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by lists.maptools.org (Postfix) with ESMTP id 0AA361D1EDF75
	for <tiff@lists.maptools.org>; Sun, 14 Dec 2008 06:02:12 +0000 (UTC)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	mBE5xFJE000366; Sat, 13 Dec 2008 23:59:15 -0600 (CST)
Date: Sat, 13 Dec 2008 23:59:15 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: navneet rastogi <navneetrastogi99@gmail.com>
In-Reply-To: <b081db690812132010s5bcbcbf8h87090d8e815df3fb@mail.gmail.com>
Message-ID: <Pine.SOC.4.64.0812132352380.1462@freddy.simplesystems.org>
References: <mailman.5.1229169602.22899.tiff@lists.maptools.org>
	<b081db690812132010s5bcbcbf8h87090d8e815df3fb@mail.gmail.com>
MIME-Version: 1.0
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] Tiff Digest, Vol 55, Issue 2
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

On Sun, 14 Dec 2008, navneet rastogi wrote:

>       I am working on a project i.e. "LZW compression &
> Decompression".I have been achieved the compression completely but in
> case of decompression a problem occured i.e When we decompress a data
> using LZW there is no table is given, it creates it by own but when we
> creating a table and there occured a sequence of same character then
> according to the Mark Nelson it's  a exception  in LZW .and it doesn't
> work.e.g "THGFFF" we compressed it then output is "THGF259" then when
> we decompressed it

I have read that LZW compression in TIFF is not completely conformant 
to other LZW implementations.  Maybe the small deviation is causing 
the problem you are seeing?

This text seems to be a decription of LZW compression specifically as 
it applies to TIFF" 
"http://www.fileformat.info/format/tiff/corion-lzw.htm".  There is 
also "http://www.fileformat.info/mirror/egff/ch09_04.htm" which 
mentions TIFF specific LZW deviations.

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/
