Home | History | Annotate | Download | only in test

Lines Matching refs:imgfile

3 """Simple test script for imgfile.c
9 imgfile = import_module('imgfile', deprecated=True)
14 """Run through the imgfile's battery of possible methods
28 sizes = imgfile.getsizes(name)
29 except imgfile.error:
39 sizes = imgfile.getsizes(name)
47 image = imgfile.read(name)
56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2])
75 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'impulse', 2.0)
83 imgfile.ttob (1)
87 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'triangle', 3.0)
90 imgfile.ttob (0)
93 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'quadratic')
95 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'gaussian', 1.0)
99 imgfile.write (outputfile, simage, sizes[0]/2, sizes[1]/2, sizes[2])