14#include <OpenImageIO/filesystem.h>
15#include <OpenImageIO/imageio.h>
71 const OIIO::ImageSpec &config,
73 OIIO::ImageSpec &r_newspec);
83 const OIIO::ImageSpec &file_spec);
95 bool prefer_float =
true);
106 OIIO::TypeDesc data_format);
Contains defines and structs used throughout the imbuf module.
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, char colorspace[IM_MAX_SPACE], 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)
bool use_embedded_colorspace
const eImbFileType file_type
OIIO::stride_t mem_ystride
OIIO::stride_t mem_xstride