Blender V5.3
image_save.cc File Reference
#include <cerrno>
#include <cstring>
#include "BLI_fileops.hh"
#include "BLI_index_range.hh"
#include "BLI_listbase.hh"
#include "BLI_path_utils.hh"
#include "BLI_string_ref.hh"
#include "BLI_string_utf8.hh"
#include "BLI_task.hh"
#include "BLI_vector.hh"
#include "BLT_translation.hh"
#include "DNA_image_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "IMB_openexr.hh"
#include "BKE_colortools.hh"
#include "BKE_global.hh"
#include "BKE_image.hh"
#include "BKE_image_format.hh"
#include "BKE_image_save.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "RE_pipeline.h"
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

bool blender::BKE_image_save_options_init (ImageSaveOptions *opts, Main *bmain, Scene *scene, Image *ima, ImageUser *iuser, bool guess_path, bool save_as_render)
void blender::BKE_image_save_options_update (ImageSaveOptions *opts, const Image *image)
void blender::BKE_image_save_options_free (ImageSaveOptions *opts)
static void blender::image_save_update_filepath (Image *ima, const char *filepath, const ImageSaveOptions *opts)
static void blender::image_save_post (ReportList *reports, Image *ima, ImBuf *ibuf, int ok, const ImageSaveOptions *opts, const bool save_copy, const char *filepath, bool *r_colorspace_changed)
static void blender::imbuf_save_post (ImBuf *ibuf, ImBuf *colormanaged_ibuf)
static bool blender::image_save_single (ReportList *reports, Image *ima, ImageUser *iuser, const ImageSaveOptions *opts, bool *r_colorspace_changed)
bool blender::BKE_image_save (ReportList *reports, Main *bmain, Image *ima, ImageUser *iuser, const ImageSaveOptions *opts)
static const float * blender::image_exr_from_scene_linear_to_output (const float *rect, const int width, const int height, const int channels, const ImageFormatData *imf, Vector< float * > &tmp_output_rects, StringRefNull &r_colorspace)
static const float * blender::image_exr_from_rgb_to_bw (const float *input_buffer, int width, int height, int channels, Vector< float * > &temporary_buffers)
static float * blender::image_exr_opaque_alpha_buffer (int width, int height, Vector< float * > &temporary_buffers)
static void blender::add_exr_compositing_result (ExrWriteHandle *exr_handle, const RenderResult *render_result, const ImageFormatData *imf, bool save_as_render, const char *view_name, int layer, Vector< float * > &temporary_buffers)
bool blender::BKE_image_render_write_exr (ReportList *reports, const RenderResult *rr, const char *filepath, const ImageFormatData *imf, bool save_as_render, const char *view, int layer)
static void blender::image_render_print_save_message (ReportList *reports, const char *filepath, int ok, int err)
static bool blender::image_render_write_stamp_test (ReportList *reports, const Scene *scene, const RenderResult *rr, ImBuf *ibuf, const char *filepath, const ImageFormatData *imf, const bool stamp)
bool blender::BKE_image_render_write (ReportList *reports, RenderResult *rr, const Scene *scene, bool stamp, const char *filepath_basis, const ImageFormatData *format=nullptr, bool save_as_render=true)

Variables

static CLG_LogRef blender::LOG_RENDER = {"render"}