|
Blender V5.0
|
#include <cerrno>#include <cstdlib>#include "BLI_path_utils.hh"#include "IMB_colormanagement.hh"#include "IMB_filetype.hh"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"#include "CLG_log.h"Go to the source code of this file.
Functions | |
| bool | IMB_save_image (ImBuf *ibuf, const char *filepath, const int flags) |
Variables | |
| static CLG_LogRef | LOG = {"image.write"} |
| bool IMB_save_image | ( | ImBuf * | ibuf, |
| const char * | filepath, | ||
| const int | flags ) |
Save image.
Definition at line 23 of file writeimage.cc.
References BLI_assert, BLI_path_is_rel(), ImBuf::byte_buffer, CLOG_ERROR, COLOR_ROLE_DEFAULT_BYTE, colormanage_colorspace_get_roled(), ImBufByteBuffer::colorspace, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImFileType::flag, ImBuf::flags, ImBuf::float_buffer, IM_FTYPE_FLOAT, IMB_byte_from_float(), IMB_file_type_from_ibuf(), LOG, and ImFileType::save.
Referenced by BKE_imbuf_write(), blender::io::usd::cache_image_color(), dynamicPaint_outputSurfaceImage(), image_memorypack_imbuf(), image_save_sequence_exec(), imbuf_write_impl(), Freestyle::Canvas::loadMap(), movieclip_build_proxy_ibuf(), GHOST_SystemWayland::putClipboardImage(), putClipboardImagePNG(), Freestyle::SteerableViewMap::saveSteerableViewMap(), blender::seq::seq_proxy_build_frame(), and thumb_create_ex().
|
static |
Definition at line 21 of file writeimage.cc.