24 ImageSpec config, spec;
46 const int file_channels = 3;
47 const TypeDesc data_format = TypeDesc::FLOAT;
void IMB_byte_from_float(ImBuf *ibuf)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
bool imb_oiio_write(const WriteContext &ctx, const char *filepath, const ImageSpec &file_spec)
WriteContext imb_create_write_context(const char *file_format, ImBuf *ibuf, int flags, bool prefer_float)
ImBuf * imb_oiio_read(const ReadContext &ctx, const ImageSpec &config, ImFileColorSpace &r_colorspace, ImageSpec &r_newspec)
bool imb_oiio_check(const uchar *mem, size_t mem_size, const char *file_format)
ImageSpec imb_create_write_spec(const WriteContext &ctx, int file_channels, TypeDesc data_format)