Logo Search packages:      
Sourcecode: zope-extfile version File versions

def zope-extfile-1.4.2::ExtImage::ExtImage::format (   self  ) 

Get the Fileformat of the image 

Definition at line 245 of file ExtImage.py.

00245                     :
        """ Get the Fileformat of the image """
        try:
            from PIL import Image
            im = Image.open(self._get_fsname(self.filename)) 
            return im.format
        except:
            return 'unknown'
    
    security.declareProtected(AccessPermission, 'get_prev_filename')
    def get_prev_filename(self):


Generated by  Doxygen 1.6.0   Back to index