(self, x, y='')
return destImage
Return a new PhotoImage based on the same image as this widget
        but use only every Xth or Yth pixel.  If y is not given, the
        default value is the same as x.
Return a new PhotoImage based on the same image as this widget
        but use only every Xth or Yth pixel.  If y is not given, the
        default value is the same as x.
Return a new PhotoImage based on the same image as this widget but use only every Xth or Yth pixel . If y is not given the default value is the same as x .
def subsample(self, x, y=''):
        """Return a new PhotoImage based on the same image as this widget
        but use only every Xth or Yth pixel.  If y is not given, the
        default value is the same as x.
        """
        destImage = PhotoImage(master=self.tk)
        if y=='': y=x
        self.tk.call(destImage, 'copy', self.name, '-subsample',x,y)
        return destImage
def subsample ( self , x , y = '' ) : destImage = PhotoImage ( master = self . tk ) if y == '' : y = x self . tk . call ( destImage , 'copy' , self . name , '-subsample' , x , y ) return destImage