summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx2
1 files changed, 1 insertions, 1 deletions
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 {