Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas007.isp.belgacom.be (localhost [127.0.0.1])
        by inav004.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k0AMfJIW006406
        for <joris.at.lebbeke@skynet.be>; Tue, 10 Jan 2006 23:41:19 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx007.isp.belgacom.be (inmx007.isp.belgacom.be [195.238.5.89])
        by inas007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k0AMfAxT017856
        for <joris.at.lebbeke@skynet.be>; Tue, 10 Jan 2006 23:41:11 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k0AMexlA025494
        for <joris.at.lebbeke@skynet.be>; Tue, 10 Jan 2006 23:40:59 +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 k0AMc728013638;
	Tue, 10 Jan 2006 17:38:11 -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 k0AMc4IW013635
	for <tiff@lists.maptools.org>; Tue, 10 Jan 2006 17:38:04 -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
	k0AMc2us017225; Tue, 10 Jan 2006 16:38:02 -0600 (CST)
Date: Tue, 10 Jan 2006 16:38:02 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: "Pallek, Bernie: #CIPO - OPIC" <Pallek.Bernie@ic.gc.ca>
Subject: RE: [Tiff] Adding a blank heading to a tiff using C/C++
In-Reply-To: <F78E6BBD22A6FC4489EBE25045407908036FA507@msg-mb2.icent.ic.gc.ca>
Message-ID: <Pine.SOC.4.60.0601101634050.4804@blade.simplesystems.org>
References: <F78E6BBD22A6FC4489EBE25045407908036FA507@msg-mb2.icent.ic.gc.ca>
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.00001129
X-MSP-STORE: Tue, 10 Jan 2006 23:41:27 +0100
Status:   

On Tue, 10 Jan 2006, Pallek, Bernie: #CIPO - OPIC wrote:

>
> JK> How can I add a banner to all of the pages of a multipage
>  > tiff (both stripped and tiled) using C or C++? Merely,
>  > stretching the length will not do, we need to append a
>  > blank heading on the top and then write our (dynamic)
>  > banner there.

In order to make the task easier, it may help to use a higher level 
image system like ImageMagick/GraphicsMagick.  At least development 
GraphicsMagick 1.2 is able to handle strips/tiles without problems, 
although it may not preserve the original file organization when 
writing the output image without additional assistance.

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/
