Home | Trees | Index | Help |
|
---|
Module Image |
|
New: Image.setFilename
.
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()
Classes | |
---|---|
Image |
This object gives access to Images in Blender. |
Function Summary | |
---|---|
Blender Image or a list of Blender Images |
Get the Image object(s) from Blender. |
Blender Image |
Get the currently displayed Image from Blenders UV/Image window. |
Blender Image |
Load the image called 'filename' into an Image object. |
Blender Image |
Create a new Image object. |
Function Details |
---|
Get(name=None)Get the Image object(s) from Blender.
|
GetCurrent()Get the currently displayed Image from Blenders UV/Image window. When multiple images are displayed, the last active UV/Image windows image is used.
|
Load(filename)Load the image called 'filename' into an Image object.
|
New(name, width, height, depth)Create a new Image object.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Jul 13 16:50:05 2006 | http://epydoc.sf.net |