ImageFormatSettings(bpy_struct)

base class — bpy_struct

class bpy.types.ImageFormatSettings(bpy_struct)

Settings for image formats

cineon_black

Log conversion reference blackpoint

Type:int in [0, 1024], default 0
cineon_gamma

Log conversion gamma

Type:float in [0, 10], default 0.0
cineon_white

Log conversion reference whitepoint

Type:int in [0, 1024], default 0
color_depth

Bit depth per channel

  • 8 8, 8 bit color channels.
  • 10 10, 10 bit color channels.
  • 12 12, 12 bit color channels.
  • 16 16, 16 bit color channels.
  • 32 32, 32 bit color channels.
Type:enum in [‘8’, ‘10’, ‘12’, ‘16’, ‘32’], default ‘8’
color_mode

Choose BW for saving grayscale images, RGB for saving red, green and blue channels, and RGBA for saving red, green, blue and alpha channels

  • BW BW, Images get saved in 8 bits grayscale (only PNG, JPEG, TGA, TIF).
  • RGB RGB, Images are saved with RGB (color) data.
  • RGBA RGBA, Images are saved with RGB and Alpha data (if supported).
Type:enum in [‘BW’, ‘RGB’, ‘RGBA’], default ‘BW’
compression

Amount of time to determine best compression: 0 = no compression with fast file output, 100 = maximum lossless compression with slow file output

Type:int in [0, 100], default 0
display_settings

Settings of device saved image would be displayed on

Type:ColorManagedDisplaySettings, (readonly)
exr_codec

Codec settings for OpenEXR

Type:enum in [‘NONE’, ‘PXR24’, ‘ZIP’, ‘PIZ’, ‘RLE’], default ‘NONE’
file_format

File format to save the rendered images as

  • BMP BMP, Output image in bitmap format.
  • IRIS Iris, Output image in (old!) SGI IRIS format.
  • PNG PNG, Output image in PNG format.
  • JPEG JPEG, Output image in JPEG format.
  • TARGA Targa, Output image in Targa format.
  • TARGA_RAW Targa Raw, Output image in uncompressed Targa format.
  • OPEN_EXR_MULTILAYER OpenEXR MultiLayer, Output image in multilayer OpenEXR format.
  • OPEN_EXR OpenEXR, Output image in OpenEXR format.
  • TIFF TIFF, Output image in TIFF format.
  • AVI_JPEG AVI JPEG, Output video in AVI JPEG format.
  • AVI_RAW AVI Raw, Output video in AVI Raw format.
  • H264 H.264, Output video in H.264 format.
  • FFMPEG MPEG, Output video in MPEG format.
  • THEORA Ogg Theora, Output video in Ogg format.
  • XVID Xvid, Output video in Xvid format.
Type:enum in [‘BMP’, ‘IRIS’, ‘PNG’, ‘JPEG’, ‘TARGA’, ‘TARGA_RAW’, ‘OPEN_EXR_MULTILAYER’, ‘OPEN_EXR’, ‘TIFF’, ‘AVI_JPEG’, ‘AVI_RAW’, ‘H264’, ‘FFMPEG’, ‘THEORA’, ‘XVID’], default ‘TARGA’
quality

Quality for image formats that support lossy compression

Type:int in [0, 100], default 0
use_cineon_log

Convert to logarithmic color space

Type:boolean, default False
use_preview

When rendering animations, save JPG preview images in same directory

Type:boolean, default False
use_zbuffer

Save the z-depth per pixel (32 bit unsigned int z-buffer)

Type:boolean, default False
view_settings

Color management settings applied on image before saving

Type:ColorManagedViewSettings, (readonly)

Inherited Properties

Inherited Functions

References