[Pythonmac-SIG] Does PIL handle OS X TIFFs?
Just van Rossum
just at letterror.com
Fri Sep 19 04:26:51 EDT 2003
Dinu Gherman wrote:
> I even found it more difficult to find out which version of PIL I had
> installed previously than reinstalling 1.1.4... Well, at least I have
> not found interactively any __version__ strings quickly enough...
Took me 30 secs:
>>> import PIL
>>> dir(PIL)
['__builtins__', '__doc__', '__file__', '__name__', '__path__']
>>> import PIL.Image
>>> dir(PIL.Image)
['ADAPTIVE', 'AFFINE', 'ANTIALIAS', 'BICUBIC', 'BILINEAR',
'CONTAINER', 'CUBIC', 'DEBUG', 'EXTENSION', 'EXTENT', 'FLIP_LEFT_RIGHT',
'FLIP_TOP_BOTTOM', 'FLOYDSTEINBERG', 'FixTk', 'ID', 'Image',
'ImagePalette', 'IntType', 'LINEAR', 'MESH', 'MIME', 'MODES', 'NEAREST',
'NONE', 'NORMAL', 'OPEN', 'ORDERED', 'PERSPECTIVE', 'QUAD', 'RASTERIZE',
'ROTATE_180', 'ROTATE_270', 'ROTATE_90', 'SAVE', 'SEQUENCE',
'StringType', 'TupleType', 'UnicodeStringType', 'VERSION', 'WEB', '_E',
'_ImageCrop', '_MODEINFO', '__builtins__', '__doc__', '__file__',
'__name__', '_getdecoder', '_getencoder', '_getscaleoffset',
'_imaging_not_installed', '_initialized', '_showxv', '_wedge', 'blend',
'composite', 'core', 'eval', 'fromstring', 'getmodebands',
'getmodebase', 'getmodetype', 'init', 'isDirectory', 'isImageType',
'isNumberType', 'isSequenceType', 'isStringType', 'isTupleType',
'merge', 'new', 'open', 'os', 'preinit', 'register_extension',
'register_mime', 'register_open', 'register_save', 'string', 'sys']
>>> PIL.Image.VERSION
'1.1.3'
>>>
Just
More information about the Pythonmac-SIG
mailing list