[gimp] file-tiff-load: Fix rowstride for edge tiles (#743034 comment #3)
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-tiff-load: Fix rowstride for edge tiles (#743034 comment #3)
- Date: Wed, 21 Jan 2015 04:06:50 +0000 (UTC)
commit 2b4152037d511395d0f862b7e65a5fe5b38ca635
Author: Mukund Sivaraman <muks banu com>
Date: Wed Jan 21 09:34:29 2015 +0530
file-tiff-load: Fix rowstride for edge tiles (#743034 comment #3)
The following images demonstrate the issue:
tiger-75-gray-jpg.tiff
tiger-75-rgb-jpg.tiff
plug-ins/common/file-tiff-load.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index d0cf79c..22894b3 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -1571,7 +1571,7 @@ load_contiguous (TIFF *tif,
src_buf = gegl_buffer_linear_new_from_data (buffer,
src_format,
GEGL_RECTANGLE (0, 0, cols, rows),
- GEGL_AUTO_ROWSTRIDE,
+ tileWidth * bytes_per_pixel,
NULL, NULL);
offset = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]