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(), 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(), and do_versions_image_settings_2_60().

◆ imtype

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