aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-27 16:55:02 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:51 +0100
commitd9dd0cefca108ec5dc7f08aad4be9b5c2ded4389 (patch)
treee5c2e5b221d164fd1150d84f23dfc4b5f8e4dde7 /src/render.c
parent6ef48812938a69ca745e97d4dc9c1f19e3d0a08c (diff)
indexamajig: Make saturation correction optional and default to off
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render.c b/src/render.c
index efbbfcb9..faad77dc 100644
--- a/src/render.c
+++ b/src/render.c
@@ -77,7 +77,7 @@ float *render_get_image_binned(DisplayWindow *dw, int binning, float *max)
image->features = NULL;
image->data = NULL;
- hdf5_read(dw->hdfile, image);
+ hdf5_read(dw->hdfile, image, 1);
dw->image_dirty = 0;
if ( dw->cmfilter ) filter_cm(image);
if ( dw->noisefilter ) filter_noise(image, NULL);
@@ -482,7 +482,7 @@ int render_tiff_fp(DisplayWindow *dw, const char *filename)
if ( image == NULL ) return 1;
image->features = NULL;
image->data = NULL;
- hdf5_read(dw->hdfile, image);
+ hdf5_read(dw->hdfile, image, 1);
if ( dw->cmfilter ) filter_cm(image);
if ( dw->noisefilter ) filter_noise(image, NULL);
@@ -527,7 +527,7 @@ int render_tiff_int16(DisplayWindow *dw, const char *filename)
if ( image == NULL ) return 1;
image->features = NULL;
image->data = NULL;
- hdf5_read(dw->hdfile, image);
+ hdf5_read(dw->hdfile, image, 1);
if ( dw->cmfilter ) filter_cm(image);
if ( dw->noisefilter ) filter_noise(image, NULL);