Tix.PhotoImage.subsample

PhotoImage.subsample(x, y='')[source]

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.