PyDocs

Nav

Graphical user interfaces with Tk

PhotoImage.subsample

  • PhotoImage.subsample(x, y='', *, from_coords=None)
Return a new PhotoImage based on this image but using only every x-th pixel in the X direction and every y-th pixel in the Y direction. If y is not given, it defaults to the same value as x.
Changed in 3.13
  • 3.13: Added the from_coords parameter.
0 Examples
No examples for tkinter/PhotoImage.subsample.
See Also
No see-alsos for tkinter/PhotoImage.subsample
0 Notes
No notes for PhotoImage.subsample