Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-g.b-one.net (mx-g.one.com [91.198.169.54])
	by mail9.b-one.net (Postfix) with ESMTP id 7EE5540080A
	for <info@awaresystems.be>; Mon, 15 Feb 2010 19:22:07 +0100 (CET)
Received: by mx-g.b-one.net (Postfix, from userid 106)
	id 4F653806; Mon, 15 Feb 2010 19:22:07 +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=4 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-g.b-one.net (Postfix) with ESMTP id 46A255ED for <info@awaresystems.be>;
 Mon, 15 Feb 2010 19:22:06 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 948161D191EC8; Mon, 15 Feb 2010
 13:21:00 -0500 (EST)
Received: from qmta01.westchester.pa.mail.comcast.net
 (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by lists.maptools.org
 (Postfix) with ESMTP id 903C61D191EC4 for <tiff@lists.maptools.org>; Mon, 15
 Feb 2010 13:19:12 -0500 (EST)
Received: from omta24.westchester.pa.mail.comcast.net ([76.96.62.76]) by
 qmta01.westchester.pa.mail.comcast.net with comcast id
 iChg1d0051ei1Bg51JKCoF; Mon, 15 Feb 2010 18:19:12 +0000
Received: from [192.168.1.100] ([98.247.174.193]) by
 omta24.westchester.pa.mail.comcast.net with comcast id
 iJLl1d00B4AjqMN3kJLmpB; Mon, 15 Feb 2010 18:20:46 +0000
Message-ID: <4B79901E.5040400@dosadi.com>
Date: Mon, 15 Feb 2010 10:19:10 -0800
From: Spike McLarty <spike@dosadi.com>
Organization: Dosadi
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: tiff@lists.maptools.org
References: <mailman.9.1266253202.25997.tiff@lists.maptools.org>
In-Reply-To: <mailman.9.1266253202.25997.tiff@lists.maptools.org>
Subject: Re: [Tiff] Tiff Digest, Vol 69, Issue 9
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: spike@dosadi.com
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="windows-1252"
Content-Transfer-Encoding: quoted-printable
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

>
> I've implemented reading, writing and dithering tiff in Visual C++ 6.0 fo=
r gray scale tiff image, but (unfortunately!!!) only for uncompressed tiff =
files (and not for tiled files), since I don't know the various (un)compres=
sion processes. Now I'd like to make use of libtiff to enable the programm =
to process compressed files. Is there a step by step guide on how to use li=
btiff in VC++6? Many thanks!
It sounds like you've got libtiff to build and work, the question is how =

to handle compression?
I use libtiff 3.7 in a scanning/imaging library that is built with MSVC =

6 (though not for much longer...)

I can share some of my code. There isn't really any special code for =

handling compression during reading, libtiff just takes care of it.
Actually,compression doesn't take much code either.
In fact, now that I look at the code, most of the complexity is in =

dealing with all the varieties, and quite a few 'oddities' of TIFFs =

we've encountered over the years...
My code uses a lower-level library to handle images in Windows 'DIB' =

format, don't know if that would make it unsuitable.
E-mail me if are interested, spike@dosadi.com

-spike _/\_
the plural of =93anecdote=94 is not =93data=94


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