AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.10.18 17:06 "Change existingTiffTag", by Tobias Gurski
2005.10.18 17:45 "Re: Change existingTiffTag", by Frank Warmerdam
2005.10.18 17:47 "Re: Change existingTiffTag", by <lou.sakey@kodak.com>

2005.10.18 17:47 "Re: Change existingTiffTag", by <lou.sakey@kodak.com>

Tobias,

Here is some sample code that updates the embedded profile in an existing 
tiff file.

tiff = TIFFOpen(SrcFilePath,"r+");
if (NULL != tiff)
{
        hr = E_FAIL;
        if (TIFFSetField(tiff, TIFFTAG_ICCPROFILE, profileSize, profilePtr) &&
                TIFFRewriteDirectory(tiff))
        {
                hr = S_OK;
        }
        TIFFClose(tiff);
}

Lou Sakey
DFIS WW S+SE LOWELL DEVELOPMENT CTR 
Lou.Sakey@kodak.com
KNET 27-67676
978-323-7676