diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-20 12:32:01 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-08 11:27:55 +0100 |
commit | f2c664a04fa6cf49b3719a0cc4c59f57bab04948 (patch) | |
tree | f0f9fe151dcb2260b953d3bc840bae6b3796a1a6 /wr/write-tiff.c | |
parent | f897a5ee212491ea5d0560eeb1ca4f6bcfbfe111 (diff) | |
download | fbida-f2c664a04fa6cf49b3719a0cc4c59f57bab04948.tar.gz |
use pixman images for storage
Diffstat (limited to 'wr/write-tiff.c')
-rw-r--r-- | wr/write-tiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wr/write-tiff.c b/wr/write-tiff.c index 29d0788..a52c5a1 100644 --- a/wr/write-tiff.c +++ b/wr/write-tiff.c @@ -42,7 +42,7 @@ tiff_write(FILE *fp, struct ida_image *img) } for (y = 0; y < img->i.height; y++) { - buf = img->data + 3*img->i.width*y; + buf = ida_image_scanline(img, y); TIFFWriteScanline(TiffHndl, buf, y, 0); } TIFFClose(TiffHndl); |