BlendDataImages(bpy_struct)

base class — bpy_struct

class bpy.types.BlendDataImages(bpy_struct)

Collection of images

is_updated
Type:boolean, default False, (readonly)
new(name, width, height, alpha=False, float_buffer=False)

Add a new image to the main database

Parameters:
  • name (string, (never None)) – New name for the datablock
  • width (int in [1, inf]) – Width of the image
  • height (int in [1, inf]) – Height of the image
  • alpha (boolean, (optional)) – Alpha, Use alpha channel
  • float_buffer (boolean, (optional)) – Float Buffer, Create an image with floating point color
Returns:

New image datablock

Return type:

Image

load(filepath)

Load a new image into the main database

Parameters:filepath (string, (never None)) – path of the file to load
Returns:New image datablock
Return type:Image
remove(image)

Remove an image from the current blendfile

Parameters:image (Image, (never None)) – Image to remove
tag(value)

tag

Parameters:value (boolean) – Value

Inherited Properties

Inherited Functions

References