Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx012.isp.belgacom.be (inmx012.isp.belgacom.be [195.238.3.90])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j25IAZSH011976
        for <joris.at.lebbeke@skynet.be>; Sat, 5 Mar 2005 19:10:35 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j25IAS0L027764
        for <joris.at.lebbeke@skynet.be>; Sat, 5 Mar 2005 19:10:31 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 2ED4610F4BDF; Sat,  5 Mar 2005 13:10:15 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by xserve.flids.com (Postfix) with ESMTP id 65CF710F4BCC
	for <tiff@remotesensing.org>; Sat,  5 Mar 2005 13:10:12 -0500 (EST)
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
	j25IAAAi014285
	for <tiff@remotesensing.org>; Sat, 5 Mar 2005 12:10:11 -0600 (CST)
Date: Sat, 5 Mar 2005 12:10:10 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: tiff@remotesensing.org
Message-ID: <Pine.SOC.4.60.0503051157310.8945@blade.simplesystems.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Subject: [Tiff] Bogus StripByteCounts field
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 33836252175b8fc60ac2b392e74df7f2

GraphicsMagick is using libtiff's scanline writer to write stripped 
TIFFs.  For G4 and ZIP compression I notice that the files written 
produce this warning when read:

TIFFReadDirectory: Warning, golfer_zip.tif: Bogus "StripByteCounts" 
field, ignoring and calculating from imagelength.

TIFFWriteDirectory() is explicitly used before invoking TIFFClose().

Is there anything more that should be done in order for the 
StripByteCounts field to be written with a usable value?

The same warning is reported for files written by tiffcp.

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