Blender V5.0
openexr_api.h File Reference
#include <cstdio>

Go to the source code of this file.

Functions

void imb_initopenexr ()
void imb_exitopenexr ()
bool imb_is_a_openexr (const unsigned char *mem, size_t size)
bool imb_save_openexr (struct ImBuf *ibuf, const char *filepath, int flags)
struct ImBufimb_load_openexr (const unsigned char *mem, size_t size, int flags, ImFileColorSpace &r_colorspace)
struct ImBufimb_load_filepath_thumbnail_openexr (const char *filepath, int flags, size_t max_thumb_size, ImFileColorSpace &r_colorspace, size_t *r_width, size_t *r_height)

Function Documentation

◆ imb_exitopenexr()

void imb_exitopenexr ( )

Definition at line 2377 of file openexr_api.cpp.

◆ imb_initopenexr()

void imb_initopenexr ( )

Definition at line 2369 of file openexr_api.cpp.

References BLI_system_thread_count().

◆ imb_is_a_openexr()

bool imb_is_a_openexr ( const unsigned char * mem,
size_t size )

Test presence of OpenEXR file.

Parameters
mempointer to loaded OpenEXR bit-stream.

Definition at line 404 of file openexr_api.cpp.

References size().

Referenced by imb_load_openexr().

◆ imb_load_filepath_thumbnail_openexr()

struct ImBuf * imb_load_filepath_thumbnail_openexr ( const char * filepath,
int flags,
size_t max_thumb_size,
ImFileColorSpace & r_colorspace,
size_t * r_width,
size_t * r_height )

◆ imb_load_openexr()

◆ imb_save_openexr()

bool imb_save_openexr ( struct ImBuf * ibuf,
const char * filepath,
int flags )