| 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 |
Thread2004.12.02 18:07 "Having problems adding IPTC to a TIFF", by Roland RabienI am having some problems adding iptc metadata to a tiff. I am using libtiff 3.6.1 on Windows. I am adding the data like such: TIFFSetFile(pTiff, TIFFTAG_RICHTIFF, (iSize % 4) ? (iSize / 4 + 1) : (iSize / 4), pData); My pData buffer is always allowcated in a multiple of 4 bytes. The problem I'm having is in the TIFFWriteNormalTag function. I'm getting the error: "Stack corruption around variable wc" I think the problem is in the case TIFF_LONG when the function TIFFGetField is called, I think this function is messing up the stack. Has anybody seen this problem? Thank You Roland |
|||||||