Blender V5.0
ImageFormatData Struct Reference

#include <DNA_scene_types.h>

Public Attributes

char media_type
char imtype
char depth
char planes
char flag
char quality
char compress
char exr_codec
char exr_flag
char jp2_flag
char jp2_codec
char tiff_codec
char cineon_flag
char _pad [3]
short cineon_white
short cineon_black
float cineon_gamma
Stereo3dFormat stereo3d_format
char views_format
char color_management
char _pad1 [6]
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 457 of file DNA_scene_types.h.

Member Data Documentation

◆ _pad

char ImageFormatData::_pad[3]

Definition at line 495 of file DNA_scene_types.h.

◆ _pad1

char ImageFormatData::_pad1[6]

Definition at line 506 of file DNA_scene_types.h.

◆ cineon_black

short ImageFormatData::cineon_black

Definition at line 496 of file DNA_scene_types.h.

◆ cineon_flag

char ImageFormatData::cineon_flag

CINEON.

Definition at line 494 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 497 of file DNA_scene_types.h.

◆ cineon_white

short ImageFormatData::cineon_white

Definition at line 496 of file DNA_scene_types.h.

◆ color_management

char ImageFormatData::color_management

◆ compress

char ImageFormatData::compress

(0 - 100), eg: PNG compression.

Definition at line 478 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 483 of file DNA_scene_types.h.

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

◆ exr_flag

char ImageFormatData::exr_flag

◆ flag

char ImageFormatData::flag

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

Definition at line 473 of file DNA_scene_types.h.

Referenced by BKE_image_render_write(), and do_versions_image_settings_2_60().

◆ imtype

◆ jp2_codec

char ImageFormatData::jp2_codec

◆ jp2_flag

char ImageFormatData::jp2_flag

◆ linear_colorspace_settings

◆ media_type

◆ 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: