diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-21 13:41:43 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-21 13:41:43 +0300 |
commit | b12927ecb87b68387b7126283abf5bee7845cde4 (patch) | |
tree | 2d830777917517fda87a7a9a541d7950cb57798e /source/blender/imbuf/intern/openexr/openexr_multi.h | |
parent | 96dd39b84f551bbb2f9adfd024dbaeafa22f5e49 (diff) |
MultiLayer images: added support for choosing compression type.
Without setting anything, it uses ZIP now as default, which gives the best
lossless compression and works nice fast.
Diffstat (limited to 'source/blender/imbuf/intern/openexr/openexr_multi.h')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_multi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_multi.h b/source/blender/imbuf/intern/openexr/openexr_multi.h index feceb227e4b..b9aa81e81da 100644 --- a/source/blender/imbuf/intern/openexr/openexr_multi.h +++ b/source/blender/imbuf/intern/openexr/openexr_multi.h @@ -45,7 +45,7 @@ void * IMB_exr_get_handle (void); void IMB_exr_add_channel (void *handle, const char *layname, const char *passname, int xstride, int ystride, float *rect); int IMB_exr_begin_read (void *handle, char *filename, int *width, int *height); -void IMB_exr_begin_write (void *handle, char *filename, int width, int height); +void IMB_exr_begin_write (void *handle, char *filename, int width, int height, int compress); void IMB_exrtile_begin_write (void *handle, char *filename, int width, int height, int tilex, int tiley); void IMB_exr_set_channel (void *handle, char *layname, char *passname, int xstride, int ystride, float *rect); @@ -69,7 +69,7 @@ void * IMB_exr_get_handle (void) {return NULL;} void IMB_exr_add_channel (void *handle, const char *layname, const char *channame, int xstride, int ystride, float *rect) {} int IMB_exr_begin_read (void *handle, char *filename, int *width, int *height) {return 0;} -void IMB_exr_begin_write (void *handle, char *filename, int width, int height) {} +void IMB_exr_begin_write (void *handle, char *filename, int width, int height, int compress) {} void IMB_exrtile_begin_write (void *handle, char *filename, int width, int height, int tilex, int tiley) {} void IMB_exr_set_channel (void *handle, char *layname, char *channame, int xstride, int ystride, float *rect) {} |