summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-03-16 15:20:43 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-03-16 15:20:43 +0100
commit5fd1230803fddcfb8e3cfb38608221ef52c0f104 (patch)
tree4ed5193ffb84b3a54635016ea4217eeac82246b5 /src/gipfel.cxx
parentc7a40505652adc10d29b2049bb4553cf91cec823 (diff)
try linear version - does not work yet
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 23a5c5f..e9743d8 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -568,10 +568,6 @@ stitch(GipfelWidget::sample_mode_t m,
st->load_image(argv[i]);
}
- if (type & STITCH_VIGNETTE_CALIB) {
- st->color_calib(m, stitch_w, stitch_h, from, to);
- //st->vignette_calib(m, stitch_w, stitch_h, from, to);
- }
if (type & STITCH_JPEG) {
@@ -604,6 +600,9 @@ stitch(GipfelWidget::sample_mode_t m,
win->show(0, argv);
st->set_output((OutputImage*) img);
+ if (type & STITCH_VIGNETTE_CALIB) {
+ st->vignette_calib(m, stitch_w, stitch_h, from, to);
+ }
st->resample(m, stitch_w, stitch_h, from, to);
img->redraw();