aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-08 16:18:37 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:08 +0100
commit4e841e7a8592ca406235ecf181245dba0b0c5e30 (patch)
tree1da15eaa11564e4198fed623d067c896752801b6 /src
parente5c2085dafa95f7d9f82fe4a8bb79012cb0f3166 (diff)
Make PNG and TIFF tests work
Diffstat (limited to 'src')
-rw-r--r--src/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render.c b/src/render.c
index 98fb693d..0051780d 100644
--- a/src/render.c
+++ b/src/render.c
@@ -465,7 +465,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, 1);
+ hdf5_read(dw->hdfile, image, 1, 0.0);
if ( dw->cmfilter ) filter_cm(image);
if ( dw->noisefilter ) filter_noise(image, NULL);
@@ -514,7 +514,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, 1);
+ hdf5_read(dw->hdfile, image, 1, 0.0);
if ( dw->cmfilter ) filter_cm(image);
if ( dw->noisefilter ) filter_noise(image, NULL);