Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
X-Original-To: filtered@awaresystems.be
Delivered-To: filtered@awaresystems.be
Received: from mx-r.b-one.net (mx-r.one.com [91.198.169.249])
	by mail9.b-one.net (Postfix) with ESMTP id E4CE6400160
	for <filtered@awaresystems.be>; Sat, 17 Sep 2011 22:40:11 +0200 (CEST)
Received: by mx-r.b-one.net (Postfix, from userid 106)
	id DB515217213; Sat, 17 Sep 2011 22:39:56 +0200 (CEST)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-r: domain of
 awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates
 74.125.82.52 as permitted sender)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from mail-ww0-f52.google.com (mail-ww0-f52.google.com
 [74.125.82.52]) by mx-r.b-one.net (Postfix) with ESMTP id 15A46217203 for
 <filtered@awaresystems.be>; Sat, 17 Sep 2011 22:39:56 +0200 (CEST)
Received: by wwj40 with SMTP id 40so5254780wwj.33 for
 <filtered@awaresystems.be>; Sat, 17 Sep 2011 13:39:55 -0700 (PDT)
Received: by 10.216.211.145 with SMTP id w17mr818993weo.75.1316291994332;
 Sat, 17 Sep 2011 13:39:54 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.216.8.131 with SMTP id 3cs186609wer; Sat, 17 Sep 2011
 13:39:53 -0700 (PDT)
Received: by 10.227.7.27 with SMTP id b27mr56051wbb.51.1316291991613; Sat, 17
 Sep 2011 13:39:51 -0700 (PDT)
Received-SPF: softfail (google.com: best guess record for domain of
 transitioning tiff-bounces@lists.maptools.org does not designate
 91.198.169.56 as permitted sender) client-ip=91.198.169.56;
Received: by 10.241.244.206 with POP3 id 14mf2125587wwp.17; Sat, 17 Sep 2011
 13:39:51 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110
 info@awaresystems.be
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-i.b-one.net (mx-i.one.com [91.198.169.56]) by
 mail9.b-one.net (Postfix) with ESMTP id 79C77400160 for
 <info@awaresystems.be>; Sat, 17 Sep 2011 22:07:29 +0200 (CEST)
Received: by mx-i.b-one.net (Postfix, from userid 106) id 6F2E51DBEDB; Sat,
 17 Sep 2011 22:06:43 +0200 (CEST)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-i.b-one.net (Postfix) with ESMTP id D89671DBED6 for
 <info@awaresystems.be>; Sat, 17 Sep 2011 22:06:42 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id EAED4875D2; Sat, 17 Sep 2011
 15:05:13 -0500 (EST)
Received: from homiemail-a60.g.dreamhost.com (caiajhbdcbhh.dreamhost.com
 [208.97.132.177]) by lists.maptools.org (Postfix) with ESMTP id ABE9586FAB
 for <tiff@lists.maptools.org>; Sat, 17 Sep 2011 14:51:26 -0500 (EST)
Received: from homiemail-a60.g.dreamhost.com (localhost [127.0.0.1]) by
 homiemail-a60.g.dreamhost.com (Postfix) with ESMTP id D84A43BC06B for
 <tiff@lists.maptools.org>; Sat, 17 Sep 2011 12:51:25 -0700 (PDT)
Received: from [192.168.1.174] (adsl-99-33-93-172.dsl.pltn13.sbcglobal.net
 [99.33.93.172]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No
 client certificate requested) (Authenticated sender: lg@larrygritz.com) by
 homiemail-a60.g.dreamhost.com (Postfix) with ESMTPSA id B44ED3BC065 for
 <tiff@lists.maptools.org>; Sat, 17 Sep 2011 12:51:25 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1084)
From: Larry Gritz <lg@larrygritz.com>
In-Reply-To: <mailman.1.1316278801.30988.tiff@lists.maptools.org>
Date: Sat, 17 Sep 2011 12:51:26 -0700
Message-Id: <610A247A-7250-4720-9E4D-844A2AC53952@larrygritz.com>
References: <mailman.1.1316278801.30988.tiff@lists.maptools.org>
To: tiff@lists.maptools.org
X-Mailer: Apple Mail (2.1084)
Subject: Re: [Tiff] Write Exif data to Tiff file
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 Sep 17, 2011, at 10:00 AM, tiff-request@lists.maptools.org wrote:

> I would like to write Exif data (such as exposure time) to a tiff file I am creating. Is this possible with libtiff, and if so is there any information or examples on how to do it?


You might want to check out OpenImageIO (www.openimageio.org).  Even if you don't want to use it directly (though it's a lot easier than using libtiff directly), it's a good example of how to use libtiff, including embedding Exif data in the TIFF files.  The code is all BSD licensed, so feel free to copy what you need into other applications.

--
Larry Gritz
lg@larrygritz.com


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