| Blender Documentation Volume II - Reference Guide: Last modified March 29 2004 S68 | ||
|---|---|---|
| <<< Previous | Python API Reference | Next >>> |
This module provides access to Image objects in Blender.
Example:
import Blender
from Blender import Image
#
image = Image.Load("/path/to/my/image.png") # load an image file
print "Image from", image.getFilename(),
print "loaded to obj", image.getName())
image.setXRep(4) # set x tiling factor
image.setYRep(2) # set y tiling factor
print "All Images available now:", Image.Get()
|
Function Summary | ||
Blender Image or a list of Blender Images | Get(name) Get the Image object(s) from Blender. | |
Blender Image | Load(filename) Load the image called 'filename' into an Image object. | |
Blender Image | New(name) Create a new Image object (not implemented yet!). | |
Get(name=None) Get the Image object(s) from Blender.
|
| <<< Previous | Home | Next >>> |
| Module Image | Up | Class Image |