user: Give a detailed overview of ImageFormatSettings(bpy_struct): syntax, arguments, return values, common patterns.

assistant: # ImageFormatSettings(bpy_struct)

base class — [`bpy_struct`](bpy.types.bpy_struct.html#bpy.types.bpy_struct "bpy.types.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

        Type:
        :   enum in [Image Color Depth Items](bpy_types_enum_items/image_color_depth_items.html#rna-enum-image-color-depth-items), default `'8'`

    color_management
    :   Which color management settings to use for file saving

        Type:
        :   enum in [`'FOLLOW_SCENE'`, `'OVERRIDE'`], default `'FOLLOW_SCENE'`

    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

        Type:
        :   enum in [Image Color Mode Items](bpy_types_enum_items/image_color_mode_items.html#rna-enum-image-color-mode-items), default `'RGBA'`

    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 15

    display_settings
    :   Settings of device saved image would be displayed on

        Type:
        :   [`ColorManagedDisplaySettings`](bpy.types.ColorManagedDisplaySettings.html#bpy.types.ColorManagedDisplaySettings "bpy.types.ColorManagedDisplaySettings"), (readonly)

    exr_codec
    :   Compression codec settings for OpenEXR

        Type:
        :   enum in [Exr Codec Items](bpy_types_enum_items/exr_codec_items.html#rna-enum-exr-codec-items), default `'NONE'`

    file_format
    :   File format to save the rendered images as

        Type:
        :   enum in [Image Type All Items](bpy_types_enum_items/image_type_all_items.html#rna-enum-image-type-all-items), default `'PNG'`

    has_linear_colorspace
    :   File format expects linear color space

        Type:
        :   boolean, default False, (readonly)

    jpeg2k_codec
    :   Codec settings for JPEG 2000

        Type:
        :   enum in [`'JP2'`, `'J2K'`], default `'JP2'`

    linear_colorspace_settings
    :   Output color space settings

        Type:
        :   [`ColorManagedInputColorspaceSettings`](bpy.types.ColorManagedInputColorspaceSettings.html#bpy.types.ColorManagedInputColorspaceSettings "bpy.types.ColorManagedInputColorspaceSettings"), (readonly)

    media_type
    :   The type of media to save

        Type:
        :   enum in [`'IMAGE'`, `'MULTI_LAYER_IMAGE'`, `'VIDEO'`], default `'IMAGE'`

    quality
    :   Quality for image formats that support lossy compression

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

    stereo_3d_format
    :   Settings for stereo 3D

        Type:
        :   [`Stereo3dFormat`](bpy.types.Stereo3dFormat.html#bpy.types.Stereo3dFormat "bpy.types.Stereo3dFormat"), (readonly, never None)

    tiff_codec
    :   Compression mode for TIFF

        Type:
        :   enum in [`'NONE'`, `'DEFLATE'`, `'LZW'`, `'PACKBITS'`], default `'DEFLATE'`

    use_cineon_log
    :   Convert to logarithmic color space

        Type:
        :   boolean, default False

    use_exr_interleave
    :   Use legacy interleaved storage of views, layers and passes for compatibility with applications that do not support more efficient multi-part OpenEXR files.

        Type:
        :   boolean, default False

    use_jpeg2k_cinema_48
    :   Use OpenJPEG Cinema Preset (48fps)

        Type:
        :   boolean, default False

    use_jpeg2k_cinema_preset
    :   Use OpenJPEG Cinema Preset

        Type:
        :   boolean, default False

    use_jpeg2k_ycc
    :   Save luminance-chrominance-chrominance channels instead of RGB colors

        Type:
        :   boolean, default False

    use_preview
    :   When rendering animations, save JPG preview images in same directory

        Type:
        :   boolean, default False

    view_settings
    :   Color management settings applied on image before saving

        Type:
        :   [`ColorManagedViewSettings`](bpy.types.ColorManagedViewSettings.html#bpy.types.ColorManagedViewSettings "bpy.types.ColorManagedViewSettings"), (readonly)

    views_format
    :   Format of multiview media

        Type:
        :   enum in [Views Format Multiview Items](bpy_types_enum_items/views_format_multiview_items.html#rna-enum-views-format-multiview-items), default `'INDIVIDUAL'`

    *classmethod* bl_rna_get_subclass(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The RNA type or default when not found.

        Return type:
        :   [`bpy.types.Struct`](bpy.types.Struct.html#bpy.types.Struct "bpy.types.Struct") subclass

    *classmethod* bl_rna_get_subclass_py(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The class or default when not found.

        Return type:
        :   type