2006.01.10 17:40 "[Tiff] Adding a blank heading to a tiff using C/C++", by John Kearns

2006.01.10 17:40 "[Tiff] Adding a blank heading to a tiff using C/C++", by John Kearns

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.

We are using libtiff 3.7.4 on a solaris (with the openwin libraries replaced with the libtiff 3.7.4 libraries.

We have a program that accomplishes this using java and JAI, but it is too slow and we are hoping that we will be able to use a C module instead. The way that this code works is by extending the border of the tiff and then writing the banner in the new, blank area.

An example would be much appreciated.

Thanks,

John Kearns

Raytheon Aircraft Company

RAC - IT

316-676-4174