I am trying to import Tiff Image to Blender. I just started using Python for a few days. I just made the code below (from Blender API):
from Blender import Image
image = Image.Load("B:/Picture/IMG_1711.jpg")
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()
This code did not run becase of error "expected int argument in [1,16]"
I do not know what is setting for X and Y tilling factor.
Can anyone tell me how to fix it.
Thank you very much