27 if (ibuf ==
nullptr) {
33 if (type ==
nullptr || type->save ==
nullptr) {
34 fprintf(stderr,
"Couldn't save picture.\n");
50 return type->save(ibuf, filepath, flags);
bool BLI_path_is_rel(const char *path) ATTR_NONNULL(1) ATTR_WARN_UNUSED_RESULT
@ COLOR_ROLE_DEFAULT_BYTE
void IMB_rect_from_float(ImBuf *ibuf)
Contains defines and structs used throughout the imbuf module.
ColorSpace * colormanage_colorspace_get_roled(int role)
const ImFileType * IMB_file_type_from_ibuf(const ImBuf *ibuf)
ImBufFloatBuffer float_buffer
ImBufByteBuffer byte_buffer
bool IMB_saveiff(ImBuf *ibuf, const char *filepath, int flags)