2009.12.07 16:06 "[Tiff] Problems with multiple strip G4 to single strip G4 tiff.", by Phillip Wiles

2009.12.09 07:47 "Re: [Tiff] Problems with multiple strip G4 to single strip G4 tiff.", by Phillip Wiles

On Tue, Dec 8, 2009 at 1:11 PM, Juergen Buchmueller wrote:

But when I try to write an image that started out as multiple strips it crashes.

Did you verify it crashes in libtiff, not in your code? I.e. use a coredump and GDB or the debugger on Windows.

I am 99.9% certain that it is my code that is causing the crash. I should have been clearer on that.

I downloaded GDB and it looks interesting, but it's likely overkill for this problem and likely over my head.

I'm not asking that anyone do the work for me. I'm looking for direction (or explanation as to what I'm doing wrong) to the correct way to save the image a single strip, when the original image was multiple strip. I have searched the mail list archive at length and searched on Google. But unfortunately there really isn't that much in the way of examples (the IBM articles, “Using LibTIFF” and tons of reposted LibTIFF manuals). I really hoped and tried to avoid posting to the mail list, to get help. The only other opinion really left is to dig around in the source code of tiffcp and see if I can get the answer/understanding there.