diff options
author | Thomas White <taw@physics.org> | 2018-03-21 16:53:31 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-21 17:01:13 +0100 |
commit | 018bff49cd1f5fbd3071b092d0546be67147e893 (patch) | |
tree | 585b3a54bd37b9bb7a7a23c32cde42d0909732df /src/dw-hdfsee.c | |
parent | 0b849787cd825f5d4e5b16f1e64552ecb10d0b76 (diff) |
Separate tests for gdk-pixbuf-2.0 and GDK
Diffstat (limited to 'src/dw-hdfsee.c')
-rw-r--r-- | src/dw-hdfsee.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index c1bb39cc..c5c4d85a 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -1653,7 +1653,8 @@ static gint displaywindow_save_response(GtkWidget *d, gint response, "Therefore, it can't be saved as TIFF."); r = 0; } else { - r = render_tiff_fp(dw, dw->image, file); + r = render_tiff_fp(dw->image, file, dw->min_x, + dw->max_x, dw->min_y, dw->max_y); } } else if ( type == 2 ) { if ( !single_panel_data_source(dw->image->det, NULL) ) { @@ -1662,8 +1663,10 @@ static gint displaywindow_save_response(GtkWidget *d, gint response, "Therefore, it can't be saved as TIFF."); r = 0; } else { - r = render_tiff_int16(dw, dw->image, file, - dw->boostint); + r = render_tiff_int16(dw->image, file, + dw->boostint, dw->min_x, + dw->max_x, dw->min_y, + dw->max_y); } } else if ( type == 3 ) { if ( !single_panel_data_source(dw->image->det, NULL) ) { |