Blender V4.5
ImageFormatData Struct Reference

#include <DNA_scene_types.h>

Public Attributes

char imtype
 
char depth
 
char planes
 
char flag
 
char quality
 
char compress
 
char exr_codec
 
char cineon_flag
 
short cineon_white
 
short cineon_black
 
float cineon_gamma
 
char jp2_flag
 
char jp2_codec
 
char tiff_codec
 
char _pad [4]
 
char views_format
 
Stereo3dFormat stereo3d_format
 
char color_management
 
char _pad1 [7]
 
ColorManagedViewSettings view_settings
 
ColorManagedDisplaySettings display_settings
 
ColorManagedColorspaceSettings linear_colorspace_settings
 

Detailed Description

Generic image format settings, this is used for NodeImageFile and IMAGE_OT_save_as operator too.

NOTE: its a bit strange that even though this is an image format struct the imtype can still be used to select video formats. RNA ensures these enum's are only selectable for render output.

Definition at line 455 of file DNA_scene_types.h.

Member Data Documentation

◆ _pad

char ImageFormatData::_pad[4]

Definition at line 493 of file DNA_scene_types.h.

◆ _pad1

char ImageFormatData::_pad1[7]

Definition at line 502 of file DNA_scene_types.h.

◆ cineon_black

short ImageFormatData::cineon_black

Definition at line 483 of file DNA_scene_types.h.

◆ cineon_flag

char ImageFormatData::cineon_flag

CINEON.

Definition at line 482 of file DNA_scene_types.h.

Referenced by BKE_image_format_to_imbuf(), and do_versions_image_settings_2_60().

◆ cineon_gamma

float ImageFormatData::cineon_gamma

Definition at line 484 of file DNA_scene_types.h.

◆ cineon_white

short ImageFormatData::cineon_white

Definition at line 483 of file DNA_scene_types.h.

◆ color_management

◆ compress

char ImageFormatData::compress

(0 - 100), eg: PNG compression.

Definition at line 474 of file DNA_scene_types.h.

Referenced by BKE_image_format_from_imbuf(), BKE_image_format_to_imbuf(), and do_versions_image_settings_2_60().

◆ depth

◆ display_settings

◆ exr_codec

char ImageFormatData::exr_codec

OpenEXR: R_IMF_EXR_CODEC_* values in low OPENEXR_CODEC_MASK bits.

Definition at line 479 of file DNA_scene_types.h.

Referenced by BKE_image_format_from_imbuf(), BKE_image_format_to_imbuf(), BKE_image_render_write_exr(), blo_do_versions_270(), do_versions_image_settings_2_60(), and uiTemplateImageSettings().

◆ flag

char ImageFormatData::flag

Generic options for all image types, alpha Z-buffer.

Definition at line 469 of file DNA_scene_types.h.

Referenced by BKE_image_render_write(), blo_do_versions_400(), do_versions_image_settings_2_60(), and blender::compositor::FileOutput::FileOutput().

◆ imtype

char ImageFormatData::imtype

R_IMF_IMTYPE_PNG, R_...

Note
Video types should only ever be set from this structure when used from RenderData.

Definition at line 460 of file DNA_scene_types.h.

Referenced by add_exr_compositing_result(), blender::compositor::FileOutput::add_pass(), blender::compositor::FileOutput::add_view(), BKE_image_buffer_format_writable(), BKE_image_format_from_imbuf(), BKE_image_format_is_byte(), BKE_image_format_set(), BKE_image_format_to_imbuf(), BKE_image_path_ext_from_imformat(), BKE_image_path_ext_from_imformat_ensure(), BKE_image_path_from_imformat(), BKE_image_render_write(), BKE_image_render_write_exr(), BKE_image_save_options_init(), BKE_image_save_options_update(), BKE_scene_multiview_num_videos_get(), Freestyle::BlenderStrokeRenderer::BlenderStrokeRenderer(), blo_do_versions_430(), do_versions_image_settings_2_60(), do_versions_nodetree_multi_file_output_format_2_62_1(), do_write_image_or_movie(), image_save_post(), image_save_single(), image_settings_avi_to_ffmpeg(), IMB_colormanagement_imbuf_for_write(), blender::nodes::node_composite_file_output_cc::init_output_file(), MOV_filepath_from_settings(), MOV_validate_output_settings(), ntreeCompositOutputFileAddSocket(), RE_InitState(), RE_render_result_rect_to_ibuf(), RE_RenderAnim(), RE_RenderFrame(), screen_opengl_render_anim_init(), screen_opengl_render_anim_step(), screen_opengl_render_end(), screen_opengl_render_init(), screen_render_exec(), screen_render_invoke(), screenshot_exec(), uiTemplateImageFormatViews(), uiTemplateImageSettings(), and write_result().

◆ jp2_codec

char ImageFormatData::jp2_codec

◆ jp2_flag

char ImageFormatData::jp2_flag

◆ linear_colorspace_settings

◆ planes

◆ quality

char ImageFormatData::quality

◆ stereo3d_format

◆ tiff_codec

char ImageFormatData::tiff_codec

TIFF.

Definition at line 491 of file DNA_scene_types.h.

Referenced by BKE_image_format_from_imbuf(), and BKE_image_format_to_imbuf().

◆ view_settings

◆ views_format


The documentation for this struct was generated from the following file: