diff options
author | Thomas White <taw@physics.org> | 2020-08-04 15:25:59 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-04 15:25:59 +0200 |
commit | dce8a7b87023159480d06c963751da7e4fd2cb7c (patch) | |
tree | af4bf3c1a9c177d9e358c57dcee607a7767800ca /libcrystfel/src/image.h | |
parent | 43b71428b68e94d22c2c5f9e8a25b1b46bc04a4c (diff) |
Add image_write()
This is a one-to-one transfer of the old hdf5_write_image()
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r-- | libcrystfel/src/image.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h index a2f160af..3d42322a 100644 --- a/libcrystfel/src/image.h +++ b/libcrystfel/src/image.h @@ -208,6 +208,10 @@ extern int image_set_zero_data(struct image *image, extern int image_set_zero_mask(struct image *image, const DataTemplate *dtempl); +extern int image_write(const struct image *image, + const DataTemplate *dtempl, + const char *filename); + /* Use within libcrystfel only */ extern int create_detgeom(struct image *image, const DataTemplate *dtempl); |