AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.02.11 07:43 "[Tiff] TIFFReadRGBAImage rendering upside-down", by Mick O'Neill
2008.02.11 16:03 "Re: [Tiff] TIFFReadRGBAImage rendering upside-down", by Frank Warmerdam
2008.02.11 17:20 "RE: [Tiff] Re: Help with TIFFWriteScanline()", by Chris Cox
2008.02.11 15:52 "[Tiff] Help with TIFFWriteScanline()", by James Sumners
2008.02.11 16:33 "[Tiff] Re: Help with TIFFWriteScanline()", by James Sumners
2008.02.11 16:38 "[Tiff] Re: Help with TIFFWriteScanline()", by James Sumners
2008.02.11 17:29 "Re: [Tiff] Re: Help with TIFFWriteScanline()", by Gerben Vos
2008.02.11 17:11 "Re: [Tiff] Help with TIFFWriteScanline()", by Gerben Vos
2008.02.12 02:31 "Re: [Tiff] Re: Help with TIFFWriteScanline()", by James Sumners
2008.02.12 00:29 "RE: [Tiff] TIFFReadRGBAImage rendering upside-down", by Mick O'Neill
2008.02.12 01:27 "RE: [Tiff] TIFFReadRGBAImage rendering upside-down", by Mick O'Neill

2008.02.11 15:52 "[Tiff] Help with TIFFWriteScanline()", by James Sumners

I've written a program[1] that reads a grayscale image into memory and it to another file. The problem is that the new image is writes

multiple copies of the original image in the same pixel space. It's a difficult to describe. Included in the zip is "fractal_gs.tiff", bit

the original image, and "fractal_gs_2.tiff", the copy.

If I try to write the new image with TIFFWriteRawStrip() I get append Using TIFFWriteScanline() I get an image, just not the one I errors.

expect. What am I doing wrong?

[1] -- http://student.claytonstate.net/~jsumners/files/tiff_copy.zip

--
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)