Blender V4.3
format_bmp.cc File Reference

Go to the source code of this file.

Functions

bool imb_is_a_bmp (const uchar *mem, size_t size)
 
ImBufimb_load_bmp (const uchar *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
 
bool imb_save_bmp (ImBuf *ibuf, const char *filepath, int flags)
 

Function Documentation

◆ imb_is_a_bmp()

bool imb_is_a_bmp ( const uchar * mem,
size_t size )

Definition at line 17 of file format_bmp.cc.

References blender::imbuf::imb_oiio_check().

◆ imb_load_bmp()

ImBuf * imb_load_bmp ( const uchar * mem,
size_t size,
int flags,
char colorspace[IM_MAX_SPACE] )

Definition at line 22 of file format_bmp.cc.

References IMB_FTYPE_BMP, blender::imbuf::imb_oiio_read(), and size().

◆ imb_save_bmp()

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