Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx018.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j59EuKKH000753
        for <joris.at.lebbeke@skynet.be>; Thu, 9 Jun 2005 16:56:21 +0200
        (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 8D09525FE7CB; Thu,  9 Jun 2005 10:55:47 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from outmx004.isp.belgacom.be (outmx004.isp.belgacom.be
	[195.238.2.101])
	by xserve.flids.com (Postfix) with ESMTP id 0309C25FE785
	for <tiff@remotesensing.org>; Thu,  9 Jun 2005 10:55:42 -0400 (EDT)
Received: from outmx004.isp.belgacom.be (localhost [127.0.0.1])
	by outmx004.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id j59EtcSF004552
	for <tiff@remotesensing.org>; Thu, 9 Jun 2005 16:55:39 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (57-163.245.81.adsl.skynet.be [81.245.163.57])
	by outmx004.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id j59EtZAv004511; Thu, 9 Jun 2005 16:55:35 +0200
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <000801c56d03$4b5e06f0$39a3f551@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Matthias Lach" <Matthias.Lach@Telefax400.de>, <tiff@remotesensing.org>
References: <200506091251.j59Cp7K14902@dtagbrg1.telefax400.de>
Subject: Re: [Tiff] TIFF save
Date: Thu, 9 Jun 2005 16:55:33 +0200
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: 000000000023ceae.00000371
X-MSP-STORE: Thu, 09 Jun 2005 16:56:37 +0200
Status:   

Matthias,

> but all stuff is in C-code - i like to see
> a delphi example to safe a file please.

The first few pages of Delphi-centered LibTiff docs are finished, though not yet
published. As LibTiff 3.7.2 is just around the corner, I plan to wait for that,
and update LibTiffDelphi and publish those first few pages soon after. Keep an
eye on http://www.awaresystems.be/imaging/tiff/delphi.html. I will next keep
adding to that Delphi-centered LibTiff tutorial and reference, in due time. I do
plan to add a lot of example code.

Essentially, the writing approach is not all that different from the reading
approach. TIFF files have strips are tiles, and whether you're reading or
writing them doesn't change that, so there's pretty much a writing equivalent
for each of the different reading strategies. It helps if you study TIFF itself,
to some degree; some TIFF understanding is very useful in learning to use
LibTiff.

Also, the C code and Delphi code isn't all that different, either. You call the
same functions, and after struggling with syntax differences for half an hour,
you quickly get the hang of it as long as you don't give up somewhere in that
first half an hour when it might seem very impossible.

Also, there's a lot of C coding examples in the mailing list archive. Searching
for it over at http://www.awaresystems.be/imaging/tiff/tml.html, remember to try
and add 'Andrey' to your search query, as Andrey has been posting loads of
excellent example code for quite some time now. If you find anything in
particular that seems like exactly what you want, maybe you can narrow down on
any specific C->Pascal translation issues that might remain, and I'll be happy
to help you out (as long as it's not too general).

Finally, remember to also add
http://www.remotesensing.org/libtiff/man/index.html to your favorites or
bookmarks. This, and the page you've mentioned,
http://www.remotesensing.org/libtiff/libtiff.html, are the main keys to learning
to use LibTiff.

> But i did not found a forum or so ....

I'm pretty sure people here generally feel this is a TIFF and LibTiff forum, and
whether you're C oriented or Delphi ObjectPascal oriented doesn't make much
difference. I'm a Delphi coder myself, and nobody ever told me this is the wrong
forum. So I would say you did find a forum now. Pleased to meet you.

> ( and execuse the bad english as well - thank thee ) :-)

No problem. Again, my english sucks, too, bigtime. Yours can't possibly be worse
then mine. But these are all very friendly, helpfull people that don't mind
meeting you halfway.



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
http://www.remotesensing.org/libtiff/
