summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-21 13:22:32 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-21 13:22:32 +0200
commit45cea3f777a67eecadedffc0e3235bc1d5209bb1 (patch)
treeee296ee70423c88c73eee8ae280ac8651cd08992 /src
parenta17487eddbf327d17e7bccaa210304b342536b39 (diff)
fix 16bit tiff output in stitching mode
Diffstat (limited to 'src')
-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 {