Blender V4.3
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 394 of file DNA_scene_types.h.

Member Data Documentation

◆ _pad

char ImageFormatData::_pad[4]

Definition at line 432 of file DNA_scene_types.h.

◆ _pad1

char ImageFormatData::_pad1[7]

Definition at line 441 of file DNA_scene_types.h.

◆ cineon_black

short ImageFormatData::cineon_black

Definition at line 422 of file DNA_scene_types.h.

◆ cineon_flag

char ImageFormatData::cineon_flag

CINEON.

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

◆ cineon_white

short ImageFormatData::cineon_white

Definition at line 422 of file DNA_scene_types.h.

◆ color_management

◆ compress

char ImageFormatData::compress

(0 - 100), eg: PNG compression.

Definition at line 413 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

◆ flag

char ImageFormatData::flag

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

Definition at line 408 of file DNA_scene_types.h.

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

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