ImagePreview(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.
ImagePreview
(bpy_struct)¶ Preview image and icon
-
icon_id
¶ Unique integer identifying this preview as an icon (zero means invalid)
Type: int in [-inf, inf], default 0, (readonly)
-
icon_pixels
¶ Icon pixels, as bytes (always RGBA 32bits)
Type: int in [-inf, inf], default 0
-
icon_size
¶ Width and height in pixels
Type: int array of 2 items in [-inf, inf], default (0, 0)
-
image_pixels
¶ Image pixels, as bytes (always RGBA 32bits)
Type: int in [-inf, inf], default 0
-
image_size
¶ Width and height in pixels
Type: int array of 2 items in [-inf, inf], default (0, 0)
-
is_icon_custom
¶ True if this preview icon has been modified by py script,and is no more auto-generated by Blender
Type: boolean, default False
-
is_image_custom
¶ True if this preview image has been modified by py script,and is no more auto-generated by Blender
Type: boolean, default False
-
reload
()¶ Reload the preview from its source path
-
Inherited Properties
Inherited Functions