from numpy import *
from PIL import Image
ar = ones((100,100),float32)
ar = ar * 100
for i in range(0,100):
- ar[i,:] = 100 + (i * 1.5)
im = Image.fromarray(ar,"F")
Many examples of numpy usage can be found at http://www.scipy.org/Numpy_Example_List
from numpy import *
from PIL import Image
ar = ones((100,100),float32)
ar = ar * 100
for i in range(0,100):
im = Image.fromarray(ar,"F")
Many examples of numpy usage can be found at http://www.scipy.org/Numpy_Example_List
numpy Examples (last edited 2009-09-17 11:38:05 by pool-71-191-70-199)