Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-h.b-one.net (mx-h.one.com [91.198.169.55])
	by mail9.b-one.net (Postfix) with ESMTP id 55278400110
	for <info@awaresystems.be>; Wed, 14 Jan 2009 17:04:48 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=0 required=6
	tests=[HTML_MESSAGE=0.001]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-h.b-one.net (Postfix) with ESMTP id 538B8194841D
	for <info@awaresystems.be>; Wed, 14 Jan 2009 17:04:46 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id CAC081CF5DEF6;
	Wed, 14 Jan 2009 11:02:56 -0500 (EST)
Received: from mail.bisonline.com (smtp.BISonline.com [204.87.213.30])
	by lists.maptools.org (Postfix) with ESMTP id 20A851CF33B5A
	for <tiff@lists.maptools.org>; Wed, 14 Jan 2009 10:33:47 -0500 (EST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mail.bisonline.com (Postfix) with ESMTP id 6D5F3390560
	for <tiff@lists.maptools.org>; Wed, 14 Jan 2009 10:33:38 -0500 (EST)
Received: from mail.bisonline.com ([127.0.0.1])
	by localhost (mail.bisonline.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 5m6e6hgpOl8J; Wed, 14 Jan 2009 10:32:35 -0500 (EST)
Received: from mail.bisonline.com (localhost.localdomain [127.0.0.1])
	by mail.bisonline.com (Postfix) with ESMTP id E2049390344;
	Wed, 14 Jan 2009 10:32:35 -0500 (EST)
Date: Wed, 14 Jan 2009 10:32:35 -0500 (EST)
From: Wendell Dingus <wendell@bisonline.com>
To: tiff@lists.maptools.org
Message-ID: <648120818.164491231947155858.JavaMail.root@mail.bisonline.com>
In-Reply-To: <868899504.164471231947029638.JavaMail.root@mail.bisonline.com>
MIME-Version: 1.0
X-Originating-IP: [204.87.213.2]
X-Mailer: Zimbra 5.0.11_GA_2695.RHEL5_64 (ZimbraWebClient - FF3.0
	(Linux)/5.0.11_GA_2695.RHEL5_64)
Subject: [Tiff] tiffset and multi-page files
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: multipart/mixed; boundary="===============2113845503=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============2113845503==
Content-Type: multipart/alternative; 
	boundary="----=_Part_7360_1435314567.1231947155857"

------=_Part_7360_1435314567.1231947155857
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

$ tiffset -s 306 "2002:11:20 09:57:36" test.tif 
$ tiffinfo test.tif 
test.tif: Warning, incorrect count for field "DateTime" (25, expecting 20); tag trimmed. 
DateTime: 2002:11:18 16:50:40 
DateTime: Tue Nov 19 10:59:37 2002 

I have a bunch of multi-page G4 TIFFs produced by someone with some braindead(?) software that put the DateTime tag in as 25 characters and in an incorrect format. I've been trying to correct them with tiffset and have just discovered that for a multi-page TIFF, it only fixes page 1. Any idea how to correct all the pages without tiffsplitting it and doing them individually? 

Thanks... 

PS. LibtTIFF 3.8.2 on a CentOS 5.2 box. 


------=_Part_7360_1435314567.1231947155857
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>$ tiffset -s 306 "2002:11:20 09:57:36" test.tif<br>$ tiffinfo test.tif <br>test.tif: Warning, incorrect count for field "DateTime" (25, expecting 20); tag trimmed.<br>DateTime: 2002:11:18 16:50:40<br>DateTime: Tue Nov 19 10:59:37 2002<br><br>I have a bunch of multi-page G4 TIFFs produced by someone with some braindead(?) software that put the DateTime tag in as 25 characters and in an incorrect format. I've been trying to correct them with tiffset and have just discovered that for a multi-page TIFF, it only fixes page 1. Any idea how to correct all the pages without tiffsplitting it and doing them individually?<br><br>Thanks...<br><br>PS. LibtTIFF 3.8.2 on a CentOS 5.2 box.<br><br></div></body></html>
------=_Part_7360_1435314567.1231947155857--

--===============2113845503==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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