Commit f5ac5634 authored by Brian Stafford's avatar Brian Stafford Committed by Øyvind "pippin" Kolås

JPEG saved with wrong width height if buffer origin is non-zero

parent 1e9df71d
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment