| 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 |
Thread2008.02.11 15:52 "Help with TIFFWriteScanline()", by James SumnersI've written a program[1] that reads a grayscale image into memory and writes it to another file. The problem is that the new image is multiple copies of the original image in the same pixel space. It's a bit difficult to describe. Included in the zip is "fractal_gs.tiff", the original image, and "fractal_gs_2.tiff", the copy. If I try to write the new image with TIFFWriteRawStrip() I get append errors. Using TIFFWriteScanline() I get an image, just not the one I 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) CH:D 59 |
|||||||