Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-j.one.com (mx-j.one.com [91.198.169.57])
	by mail6.b-one.net (Postfix) with ESMTP id 7CEB480103FDE
	for <filtered@awaresystems.be>; Wed,  4 Jul 2012 17:08:20 +0200 (CEST)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-j: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.160.48 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48])
	by mx-j.one.com (Postfix) with ESMTP id 02C3F3D3899
	for <filtered@awaresystems.be>; Wed,  4 Jul 2012 15:08:19 +0000 (UTC)
Received: by pbbrq8 with SMTP id rq8so12583741pbb.21
        for <filtered@awaresystems.be>; Wed, 04 Jul 2012 08:08:18 -0700 (PDT)
Received: by 10.68.136.68 with SMTP id py4mr19971179pbb.151.1341414498594;
        Wed, 04 Jul 2012 08:08:18 -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.143.92.14 with SMTP id u14csp143472wfl;
        Wed, 4 Jul 2012 08:08:18 -0700 (PDT)
Received: by 10.68.232.197 with SMTP id tq5mr19752806pbc.53.1341414495619;
        Wed, 04 Jul 2012 08:08:15 -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.68.141.176 with POP3 id rp16mf10154854pbb.17;
        Wed, 04 Jul 2012 08:08:15 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-i.one.com (mx-i.one.com [91.198.169.56])
	by mail6.b-one.net (Postfix) with ESMTP id 8403D80139528
	for <info@awaresystems.be>; Wed,  4 Jul 2012 17:06:19 +0200 (CEST)
X-Greylist: accepted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-i.one.com (Postfix) with ESMTP id A4A0C1A63A16
	for <info@awaresystems.be>; Wed,  4 Jul 2012 15:06:18 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id A502C1EDB45;
	Wed,  4 Jul 2012 10:05:04 -0500 (EST)
Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com
	[209.85.217.172])
	by lists.maptools.org (Postfix) with ESMTPS id D9ED31EDB4F
	for <tiff@lists.maptools.org>; Wed,  4 Jul 2012 09:33:52 -0500 (EST)
Received: by lbbgo11 with SMTP id go11so10309245lbb.3
	for <tiff@lists.maptools.org>; Wed, 04 Jul 2012 07:33:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.36.132 with SMTP id q4mr10196545lbj.63.1341412430686; Wed,
	04 Jul 2012 07:33:50 -0700 (PDT)
Received: by 10.112.133.161 with HTTP; Wed, 4 Jul 2012 07:33:50 -0700 (PDT)
In-Reply-To: <4FF438B3.8030802@kit.edu>
References: <4FF438B3.8030802@kit.edu>
Date: Wed, 4 Jul 2012 10:33:50 -0400
Message-ID: <CAAcuQeYH7paKLjL4R0j-tDhG8Dvy18d4RTAyhbssjYmyo7g=Vw@mail.gmail.com>
From: Olivier Paquet <olivier.paquet@gmail.com>
To: Simon Ochsenreither <simon.ochsenreither@kit.edu>
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] How to set the "physical size" of an image when writing
 a 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 Wed, Jul 4, 2012 at 8:36 AM, Simon Ochsenreither
<simon.ochsenreither@kit.edu> wrote:
> I have received some Tiff image stacks and I encountered issues processing
> them. It seems the values for the "whole" tiff file are set correctly, but
> it seems that each individual file is missing the "physical size"
> attributes:

There is no "physical size" tag that I'm aware of. What TIFF files
store is the size in pixels as well as the resolution in pixels/"some
unit". The physical size can be computed from these values. What
you're using to view the tags obviously does some interpretation so I
can't tell exactly what is missing (the output of tiffinfo would be
more useful). It looks like some or all of these tags are missing or
invalid for the images:

TIFFTAG_XRESOLUTION
TIFFTAG_YRESOLUTION
TIFFTAG_RESOLUTIONUNIT

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