Blender V5.3
image_format.cc File Reference
#include <cstring>
#include "DNA_scene_types.h"
#include "BLI_path_utils.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf_types.hh"
#include "MOV_util.hh"
#include "BKE_colortools.hh"
#include "BKE_image_format.hh"
#include "BKE_path_templates.hh"
#include "BLT_translation.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

void blender::BKE_image_format_init (ImageFormatData *imf)
void blender::BKE_image_format_copy (ImageFormatData *imf_dst, const ImageFormatData *imf_src)
void blender::BKE_image_format_free (ImageFormatData *imf)
void blender::BKE_image_format_update_color_space_for_type (ImageFormatData *format)
void blender::BKE_image_format_blend_read_data (BlendDataReader *reader, ImageFormatData *imf)
void blender::BKE_image_format_blend_write (BlendWriter *writer, ImageFormatData *imf)
void blender::BKE_image_format_media_type_set (ImageFormatData *format, ID *owner_id, const MediaType media_type)
void blender::BKE_image_format_set (ImageFormatData *imf, ID *owner_id, const char imtype)
eImbFileType blender::BKE_imtype_to_ftype (char imtype, ImbFormatOptions *r_options)
char blender::BKE_ftype_to_imtype (eImbFileType ftype, const ImbFormatOptions *options)
bool blender::BKE_imtype_is_image (char imtype)
bool blender::BKE_imtype_is_multi_layer_image (char imtype)
bool blender::BKE_imtype_is_movie (char imtype)
bool blender::BKE_imtype_supports_compress (char imtype)
bool blender::BKE_imtype_supports_quality (char imtype)
bool blender::BKE_imtype_requires_linear_float (char imtype)
char blender::BKE_imtype_valid_channels (char imtype)
eImageFormatDepth blender::BKE_imtype_valid_depths (char imtype)
eImageFormatDepth blender::BKE_imtype_valid_depths_with_video (char imtype, const ID *owner_id)
eImageFormatDepth blender::BKE_imtype_first_valid_depth (eImageFormatDepth valid_depths)
char blender::BKE_imtype_from_arg (const char *imtype_arg)
static int blender::image_path_ext_from_imformat_impl (const char imtype, const ImageFormatData *im_format, const char *r_ext[BKE_IMAGE_PATH_EXT_MAX])
int blender::BKE_image_path_ext_from_imformat (const ImageFormatData *im_format, const char *r_ext[BKE_IMAGE_PATH_EXT_MAX])
int blender::BKE_image_path_ext_from_imtype (const char imtype, const char *r_ext[BKE_IMAGE_PATH_EXT_MAX])
static bool blender::do_ensure_image_extension (char *filepath, const size_t filepath_maxncpy, const char imtype, const ImageFormatData *im_format)
int blender::BKE_image_path_ext_from_imformat_ensure (char *filepath, size_t filepath_maxncpy, const ImageFormatData *im_format)
int blender::BKE_image_path_ext_from_imtype_ensure (char *filepath, size_t filepath_maxncpy, char imtype)
static Vector< path_templates::Error > blender::do_makepicstring (char filepath[FILE_MAX], const char *base, const char *relbase, const path_templates::VariableMap *template_variables, int frame, const char imtype, const ImageFormatData *im_format, const bool use_ext, const bool use_frames, const char *suffix)
Vector< bke::path_templates::Error > blender::BKE_image_path_from_imformat (char *filepath, const char *base, const char *relbase, const bke::path_templates::VariableMap *template_variables, int frame, const ImageFormatData *im_format, bool use_ext, bool use_frames, const char *suffix)
Vector< bke::path_templates::Error > blender::BKE_image_path_from_imtype (char *filepath, const char *base, const char *relbase, const bke::path_templates::VariableMap *template_variables, int frame, char imtype, bool use_ext, bool use_frames, const char *suffix)
void blender::BKE_image_format_to_imbuf (ImBuf *ibuf, const ImageFormatData *imf)
static eImageFormatDepth blender::imtype_best_depth (const ImBuf *ibuf, const char imtype)
void blender::BKE_image_format_from_imbuf (ImageFormatData *im_format, const ImBuf *imbuf)
bool blender::BKE_image_format_is_byte (const ImageFormatData *imf)
void blender::BKE_image_format_color_management_copy (ImageFormatData *imf, const ImageFormatData *imf_src)
void blender::BKE_image_format_color_management_copy_from_scene (ImageFormatData *imf, const Scene *scene)
void blender::BKE_image_format_init_for_write (ImageFormatData *imf, const Scene *scene_src, const ImageFormatData *imf_src, const bool allow_video=false)