| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.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
|
|||||||