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

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

Return 1 for GIF, JPEG, and PNG images, otherwise return 0 

Definition at line 200 of file ExtImage.py.

00200                             :
        """ Return 1 for GIF, JPEG, and PNG images, otherwise return 0 """
        format = self.format()
        if format=='JPEG' or format=='GIF' or format=='PNG':
            return 1
        else:
            return 0
    
    security.declareProtected(ViewPermission, 'prev_rawsize')
    def get_prev_size(self):


Generated by  Doxygen 1.6.0   Back to index