Return-Path: <tiff-bounces@lists.maptools.org>
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 DDEED400B7B
	for <info@awaresystems.be>; Tue, 11 May 2010 19:02:45 +0200 (CEST)
Received: by mx-i.b-one.net (Postfix, from userid 106)
	id D64F43CC4EE; Tue, 11 May 2010 19:02:45 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=4 tests=[none]
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 18C6C126 for <info@awaresystems.be>;
 Tue, 11 May 2010 19:02:45 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 5E5891D536261; Tue, 11 May 2010
 12:02:06 -0500 (EST)
Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net
 [69.17.117.42]) by lists.maptools.org (Postfix) with ESMTPS id D37B01D533CAC
 for <tiff@lists.maptools.org>; Tue, 11 May 2010 11:58:05 -0500 (EST)
Received: (qmail 14049 invoked from network); 11 May 2010 16:58:04 -0000
Received: from 25-76-42-72.skybeam.com (HELO [192.168.2.16])
 (scott_ribe@killerbytes.com@[72.42.76.25]) (envelope-sender
 <scott_ribe@killerbytes.com>) by mail3.sea5.speakeasy.net (qmail-ldap-1.03)
 with AES128-SHA encrypted SMTP for <skochinsky@mail.ru>; 11 May 2010 16:58:04
 -0000
Mime-Version: 1.0 (Apple Message framework v1078)
From: Scott Ribe <scott_ribe@killerbytes.com>
In-Reply-To: <AANLkTil_W_cfrv7mnM_Q209sn-Ct4dkdFQspfGxTTws9@mail.gmail.com>
Date: Tue, 11 May 2010 10:58:03 -0600
Message-Id: <095349B4-608C-4347-BB5B-DA49D712DF69@killerbytes.com>
References: <4BE9788B.2020701@math.tu-berlin.de>
 <14197_1273592973_4BE97C8C_14197_29529_1_4BE97C7C.1060407@pobox.com>
 <4BE97F9C.1060500@math.tu-berlin.de>
 <A2B022F7-D89E-43A3-B10C-E7BD9C3DAEF9@killerbytes.com>
 <AANLkTil_W_cfrv7mnM_Q209sn-Ct4dkdFQspfGxTTws9@mail.gmail.com>
To: skochinsky@mail.ru
X-Mailer: Apple Mail (2.1078)
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] Tiff with varying bit depths
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 May 11, 2010, at 10:52 AM, Igor Skochinsky wrote:

> The values make perfect sense to me.
> The image is 64x64 pixels, each pixel is 16 bits, so the strip size is
> 64*64*2 = 8192 bytes. Pixel data is split into three samples: 5, 6,
> and 5 bits for R, G and B.

Yeah, sorry, I read the tags instead of the values, for ImageWidth (256) and ImageLength (257).

Well, at least if the tags related to image & strip size are consistent, there's a chance of reading it in some reasonable way, without just having to make assumptions about the particular image.

-- 
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




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