summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--src/gipfel.cxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 55cda38..b7bbf4c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
gipfel ChangeLog
=================
+gipfel-0.3.2
+* Fix 16bit tiff output in stitching mode.
+
gipfel-0.3.1
* Fix compile error and warnings on Linux.
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 9dbf4e6..4fbf26f 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -685,7 +685,7 @@ stitch(GipfelWidget::sample_mode_t m, int b_16,
} else if (type & STITCH_TIFF) {
- st->set_output(new TIFFOutputImage(path, 90));
+ st->set_output(new TIFFOutputImage(path, b_16 ? 16 : 8));
st->resample(m, stitch_w, stitch_h, from, to);
} else {