31 #ifdef WITH_OPENIMAGEIO
49 .load_filepath =
NULL,
61 .load_filepath =
NULL,
73 .load_filepath =
NULL,
85 .load_filepath =
NULL,
97 .load_filepath =
NULL,
110 .load_filepath =
NULL,
114 .filetype = IMB_FTYPE_DPX,
122 .load_filepath =
NULL,
126 .filetype = IMB_FTYPE_CINEON,
136 .load_filepath =
NULL,
140 .filetype = IMB_FTYPE_TIF,
150 .load_filepath =
NULL,
154 .filetype = IMB_FTYPE_RADHDR,
164 .load_filepath =
NULL,
178 .load_filepath =
NULL,
182 .filetype = IMB_FTYPE_JP2,
192 .load_filepath =
NULL,
196 .filetype = IMB_FTYPE_DDS,
200 #ifdef WITH_OPENIMAGEIO
210 .filetype = IMB_FTYPE_PSD,
222 if (ftype ==
type->filetype) {
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
@ COLOR_ROLE_DEFAULT_FLOAT
@ COLOR_ROLE_DEFAULT_BYTE
bool imb_is_a_iris(const unsigned char *mem, const size_t size)
bool imb_save_jp2(struct ImBuf *ibuf, const char *filepath, int flags)
bool imb_saveiris(struct ImBuf *ibuf, const char *filepath, int flags)
bool imb_is_a_tiff(const unsigned char *buf, const size_t size)
struct ImBuf * imb_load_jpeg(const unsigned char *buffer, size_t size, int flags, char colorspace[IM_MAX_SPACE])
bool imb_savepng(struct ImBuf *ibuf, const char *filepath, int flags)
bool imb_savejpeg(struct ImBuf *ibuf, const char *filepath, int flags)
struct ImBuf * imb_loadhdr(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
bool imb_is_a_hdr(const unsigned char *buf, const size_t size)
bool imb_is_a_jp2(const unsigned char *buf, const size_t size)
bool imb_is_a_png(const unsigned char *mem, const size_t size)
struct ImBuf * imb_loadpng(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
struct ImBuf * imb_load_jp2(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
struct ImBuf * imb_loadtiff(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
struct ImBuf * imb_loadiris(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
bool imb_savehdr(struct ImBuf *ibuf, const char *filepath, int flags)
bool imb_is_a_targa(const unsigned char *buf, const size_t size)
bool imb_savetarga(struct ImBuf *ibuf, const char *filepath, int flags)
bool imb_savetiff(struct ImBuf *ibuf, const char *filepath, int flags)
void imb_loadtiletiff(struct ImBuf *ibuf, const unsigned char *mem, size_t size, int tx, int ty, unsigned int *rect)
struct ImBuf * imb_loadtarga(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
bool imb_is_a_jpeg(const unsigned char *mem, const size_t size)
Contains defines and structs used throughout the imbuf module.
bool imb_savebmp(ImBuf *ibuf, const char *filepath, int UNUSED(flags))
ImBuf * imb_bmp_decode(const uchar *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
bool imb_is_a_bmp(const uchar *buf, size_t size)
bool imb_save_dpx(struct ImBuf *buf, const char *filepath, int flags)
ImBuf * imb_load_dpx(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
bool imb_is_a_cineon(const unsigned char *buf, size_t size)
bool imb_is_a_dpx(const unsigned char *buf, size_t size)
bool imb_save_cineon(struct ImBuf *buf, const char *filepath, int flags)
ImBuf * imb_load_cineon(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
bool imb_is_a_dds(const unsigned char *mem, const size_t size)
struct ImBuf * imb_load_dds(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
const ImFileType * IMB_file_type_from_ftype(int ftype)
const ImFileType IMB_FILE_TYPES[]
void imb_filetypes_init(void)
const ImFileType * IMB_file_type_from_ibuf(const ImBuf *ibuf)
void imb_filetypes_exit(void)
const ImFileType * IMB_FILE_TYPES_LAST
struct ImBuf * imb_load_openexr(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
void imb_initopenexr(void)
bool imb_is_a_openexr(const unsigned char *mem, const size_t size)
bool imb_save_openexr(struct ImBuf *ibuf, const char *name, int flags)
void imb_exitopenexr(void)
struct ImBuf * imb_load_photoshop(const char *filename, int flags, char colorspace[IM_MAX_SPACE])
bool imb_is_a_photoshop(const unsigned char *mem, size_t size)