I’m trying this with the Windows build from 22-09:
import Blender
tex = Blender.Texture.Get('Tex')
movie = Blender.Image.Load('ThePathToAnExistingImage.png')
print type(movie)
tex.image = movie
movie.reload()
Then it says:
<type ‘Blender Image’>
Traceback (most recent call last):
File “Text.001”, line 6, in ?
TypeError: expected an Image
It is the correct type, right? Or am I seeing something wrong here?