Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas026.isp.belgacom.be (localhost [127.0.0.1])
        by inav009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k09G3Yrc026437
        for <joris.at.lebbeke@skynet.be>; Mon, 9 Jan 2006 17:03:35 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx005.isp.belgacom.be (inmx005.isp.belgacom.be [195.238.5.148])
        by inas026.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k09G3VKI013679
        for <joris.at.lebbeke@skynet.be>; Mon, 9 Jan 2006 17:03:33 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx005.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k09G3NvD031608
        for <joris.at.lebbeke@skynet.be>; Mon, 9 Jan 2006 17:03:25 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
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 k09FvHAn006772;
	Mon, 9 Jan 2006 10:58:15 -0500
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k09FvDgo006769
	for <tiff@lists.maptools.org>; Mon, 9 Jan 2006 10:57:14 -0500
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	k09Fv6us012205; Mon, 9 Jan 2006 09:57:07 -0600 (CST)
Date: Mon, 9 Jan 2006 09:57:06 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Joris <joris.at.lebbeke@skynet.be>
Subject: Re: [Tiff] Multipage 16bit TIFF in Delphi
In-Reply-To: <001201c6150d$4f12d430$beb5f651@dfgrrxsknr4e>
Message-ID: <Pine.SOC.4.60.0601090950210.4804@blade.simplesystems.org>
References: <43C21EB1.6060109@gmx.de>
	<001201c6150d$4f12d430$beb5f651@dfgrrxsknr4e>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@lists.maptools.org
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-UIDL: 000000000023ceae.0000110c
X-MSP-STORE: Mon, 09 Jan 2006 17:03:42 +0100
Status:   

On Mon, 9 Jan 2006, Joris wrote:
>
> Andreas Christ wrote:
>> I have multipage Tiffs with 16 Bit per sample, which I want to read,
>> to manipulate and to save again.I tried it with the example
>> LibTiffDelphiHigherLevel from Joris (February 2005), but the result is
>> only a black image.
>
> I've received your code and testfile.
>
> What you have here, is a problem. You're seeing a black image, because,
> strictly speaking, it is a black image. Double-check with Photoshop,
> Irfanview, or any mainstream viewer if you like.

I have encountered a number of TIFFs like this.  Usually they are from 
scientific applications such as from specialized CCD cameras.  Or they 
could be from a remote-sensing application.

In development GraphicsMagick 1.2 there are special provisions for 
TIFFs which store a bitwise smaller sample in a 16-bit space.  So it 
is possible to tell GraphicsMagick the number of bits which represent 
the sample so that the data is automatically scaled into visible 
space.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
