Return-Path: <tiff-bounces@lists.maptools.org>
Delivered-To: info@awaresystems.be
Received: (qmail 18079 invoked from network); 14 Nov 2008 08:18:30 -0000
Received: from judy.telenet-ops.be ([195.130.136.7])
          (envelope-sender <tiff-bounces@lists.maptools.org>)
          by angelia.telenet-ops.be (qmail-ldap-1.03) with SMTP
          for <info@awaresystems.be>; 14 Nov 2008 08:18:30 -0000
Received: from waldo.telenet-ops.be (waldo.telenet-ops.be [195.130.136.10])
	by judy.telenet-ops.be (8.13.1/8.13.1) with ESMTP id mAE8IUrd000375
	for <info@awaresystems.be>; Fri, 14 Nov 2008 09:18:30 +0100
Received: from localhost (localhost.localdomain [127.0.0.1])
	by waldo.telenet-ops.be (Postfix) with SMTP id 3A7BC1C006
	for <info@awaresystems.be>; Fri, 14 Nov 2008 09:18:30 +0100 (CET)
Received: from apate.telenet-ops.be (apate.telenet-ops.be [195.130.132.43])
	by waldo.telenet-ops.be (Postfix) with ESMTP id 338771C004
	for <info@awaresystems.be>; Fri, 14 Nov 2008 09:18:30 +0100 (CET)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153])
	by apate.telenet-ops.be (Postfix) with ESMTP id E2B5527EC0E
	for <info@awaresystems.be>; Fri, 14 Nov 2008 09:18:29 +0100 (CET)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id mAE8FGrW021386;
	Fri, 14 Nov 2008 03:16:30 -0500
Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net
	[203.16.214.145])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id mAE8FBR1021380
	for <tiff@lists.maptools.org>; Fri, 14 Nov 2008 03:15:13 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApsEABfCHEmWZXPN/2dsb2JhbACBbc4vgng
X-IronPort-AV: E=Sophos;i="4.33,602,1220193000"; d="scan'208";a="256647078"
Received: from ppp115-205.static.internode.on.net (HELO conferta.cuneata.net)
	([150.101.115.205])
	by ipmail05.adl2.internode.on.net with ESMTP; 14 Nov 2008 18:45:05 +1030
Received: by conferta.cuneata.net (Postfix, from userid 502)
	id 0392C79E016D; Fri, 14 Nov 2008 19:15:04 +1100 (EST)
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on conferta.cuneata.net
X-Spam-Level: 
X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00
	autolearn=ham version=3.2.5
Received: from conferta.cuneata.net (conferta.cuneata.net [192.168.11.45])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested) (Authenticated sender: bradh)
	by conferta.cuneata.net (Postfix) with ESMTPSA id 3228579E016C
	for <tiff@lists.maptools.org>; Fri, 14 Nov 2008 19:15:02 +1100 (EST)
From: Brad Hards <bradh@frogmouth.net>
To: tiff@lists.maptools.org
Subject: Re: [Tiff] example of (standalone) TIFFRegisterCODEC
Date: Fri, 14 Nov 2008 19:14:53 +1100
User-Agent: KMail/1.9.10
References: <200811011810.55556.bradh@frogmouth.net>
In-Reply-To: <200811011810.55556.bradh@frogmouth.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200811141915.00535.bradh@frogmouth.net>
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
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>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-SpamCatcher-Score: 50 [XX]

On Saturday 01 November 2008 06:10:54 pm Brad Hards wrote:
> I'm having a bit of trouble finding an example of how to use
> TIFFRegisterCODEC() by an application / external library.
>
> Can anyone provide example code, or suggestions of where to look?

I'm still a bit concerned about how it is meant to work.

If I understand it correctly, the codec initialisation routine needs to work 
with the struct TIFF (e.g. setting function pointers for decoding) but that 
can't work without tiffiop.h, which isn't installed.

Am I meant to copy parts of that structure?

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