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.
  • 12 12, 12 bit color channels.
  • 16 16, 16 bit color channels.
  • 32 32, 32 bit color channels.
Type :enum in [‘8’, ‘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

Compression level for formats that support lossless compression

Type :int in [0, 100], default 0
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.
  • AVI_JPEG AVI JPEG, Output video in AVI JPEG format.
  • AVI_RAW AVI Raw, Output video in AVI Raw format.
Type :enum in [‘BMP’, ‘IRIS’, ‘PNG’, ‘JPEG’, ‘TARGA’, ‘TARGA_RAW’, ‘AVI_JPEG’, ‘AVI_RAW’], 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

Inherited Properties

Inherited Functions

References

Previous topic

Image(ID)

Next topic

ImagePaint(Paint)