AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.12.02 18:07 "[Tiff] Having problems adding IPTC to a TIFF", by Roland Rabien
2004.12.02 18:30 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Andrey Kiselev
2004.12.02 21:40 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Roland Rabien
2004.12.06 22:52 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Joris Van Damme
2004.12.07 02:08 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Bob Friesenhahn
2004.12.07 02:53 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Joris Van Damme
2004.12.07 04:13 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Bob Friesenhahn
2004.12.07 04:27 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Chris Cox
2004.12.07 09:11 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Joris Van Damme
2004.12.07 20:29 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Chris Cox
2004.12.07 20:51 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Joris Van Damme
2004.12.07 22:14 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Chris Cox
2004.12.07 15:26 "Re: [Tiff] AdobeDeflate (was: Having problems adding IPTC to a TIFF)", by Edward Lam
2004.12.07 20:27 "Re: [Tiff] AdobeDeflate (was: Having problems adding IPTC to a TIFF)", by Chris Cox
2004.12.07 20:50 "Re: [Tiff] AdobeDeflate", by Edward Lam
2004.12.07 09:12 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Joris Van Damme
2004.12.07 10:34 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Eric Vergnaud
2004.12.07 11:06 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Joris Van Damme
2004.12.07 17:06 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Eric Vergnaud
2004.12.07 17:16 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Bob Friesenhahn
2004.12.07 20:45 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Joris Van Damme
2004.12.07 22:16 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Chris Cox
2004.12.07 22:26 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Eric Vergnaud
2004.12.07 21:06 "Re: [Tiff] Having problems adding IPTC to a TIFF", by Gary McGath

2004.12.02 18:07 "[Tiff] Having problems adding IPTC to a TIFF", by Roland Rabien

I 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