[gegl] JPEG saved with wrong width height if buffer origin is non-zero
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] JPEG saved with wrong width height if buffer origin is non-zero
- Date: Tue, 12 Mar 2019 20:24:20 +0000 (UTC)
commit f5ac56347085e4d2852e662df167e065b9a45611
Author: Brian Stafford <contact brianstafford info>
Date: Tue Mar 12 17:05:31 2019 +0000
JPEG saved with wrong width height if buffer origin is non-zero
operations/external/jpg-save.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/external/jpg-save.c b/operations/external/jpg-save.c
index 2645a2601..c90f49c44 100644
--- a/operations/external/jpg-save.c
+++ b/operations/external/jpg-save.c
@@ -243,8 +243,8 @@ export_jpg (GeglOperation *operation,
src_x = result->x;
src_y = result->y;
- width = result->width - result->x;
- height = result->height - result->y;
+ width = result->width;
+ height = result->height;
cinfo.image_width = width;
cinfo.image_height = height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]