Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx008.isp.belgacom.be (inmx008.isp.belgacom.be [195.238.3.88])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iB8Cn3a9005357
        for <joris.at.lebbeke@skynet.be>; Wed, 8 Dec 2004 13:49:03 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx008.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iB8CmgDM001972
        for <joris.at.lebbeke@skynet.be>; Wed, 8 Dec 2004 13:48:44 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 53ACE4E5D4B; Wed,  8 Dec 2004 07:48:27 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx021.isp.belgacom.be (outmx021.isp.belgacom.be
	[195.238.2.202])
	by xserve.flids.com (Postfix) with ESMTP id 2CADA4E5D28
	for <tiff@remotesensing.org>; Wed,  8 Dec 2004 07:48:25 -0500 (EST)
Received: from outmx021.isp.belgacom.be (localhost [127.0.0.1])
	by outmx021.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id iB8CmGPx014249
	for <tiff@remotesensing.org>; Wed, 8 Dec 2004 13:48:16 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (122-186.245.81.adsl.skynet.be [81.245.186.122])
	by outmx021.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id iB8Cm83N014189; Wed, 8 Dec 2004 13:48:08 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <000c01c4dd24$40ed9650$7abaf551@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: <tiff@remotesensing.org>, "Chris Losinger" <losinger@earthlink.net>
References: <003701c4dc9d$b2c52fe0$5eb1f551@dfgrrxsknr4e><BDDBEC9A.2C99E%eric.vergnaud@jlynx.com><6.2.0.14.2.20041207212848.02cd6880@pop.earthlink.net><b35303704120801317626cafb@mail.gmail.com>
	<6.2.0.14.2.20041208073835.02cf9be8@pop.earthlink.net>
Subject: Re: [Tiff] Q: writing tiled TIFFs
Date: Wed, 8 Dec 2004 13:48:43 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Cc: 
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 6d1bba1b75a16e29ef8e0db0629e5561

> i'd just prefer to see a simple explanation of what TIFFWriteTile
> expects, what the rules are for tile sizes, what z-order means here, etc..

As to Z-order, it's an ancient Pixar extension, if I'm not mistaking. I don't
think anyone's using it, possibly not even Pixar these days.

As to tile sizes: anything you like. TIFF 6.0 spec says you ought to try and
make sure any strip or tile is about 8K in its compressed form. But that's
downright ancient. Today, the overhead of handling such many strips and tiles is
much to big compared to reading or writing 8K. So, anything you sit fit is fine.
I personally prefer tile pixel dimensions of 512x512, unless I got good reason
to do it any other way...

As to TIFFWriteTile, the tile functions are very similar to the strip functions.
Except of course that tiles are a rectangular array, top-left,
top-not-so-left,..., not-so-top-left, not-so-top-not-so-left,...,bottom-right.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
