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

def zope-extfile-1.4.2::ExtImage::ExtImage::_initPreview (   self  )  [private]

Verify the preview 

Definition at line 483 of file ExtImage.py.

00483                           :
        """ Verify the preview """
        prev_width, prev_height = self._getImageSize(self.prev_filename)
        if prev_width<=0 or prev_height<=0: 
            self.has_preview = 0
        else:
            self.has_preview = 1
            
    def _formatDimensions(self, maxx, maxy):


Generated by  Doxygen 1.6.0   Back to index