Widget which can display colored images in GIF, PPM/PGM format.
More...
Additional Inherited Members |
Detailed Description
Widget which can display colored images in GIF, PPM/PGM format.
Constructor & Destructor Documentation
def Tkinter.PhotoImage.__init__ |
( |
|
args | ) |
|
Create an image with NAME.
Valid resource names: data, format, file, gamma, height, palette,
width.
Reimplemented from Tkinter.Image.
def Tkinter.PhotoImage.__del__ |
( |
|
args | ) |
|
Member Function Documentation
def Tkinter.PhotoImage.__getitem__ |
( |
|
args | ) |
|
def Tkinter.PhotoImage.__setitem__ |
( |
|
args | ) |
|
def Tkinter.PhotoImage.__str__ |
( |
|
args | ) |
|
def Tkinter.PhotoImage.blank |
( |
|
args | ) |
|
Display a transparent image.
def Tkinter.PhotoImage.cget |
( |
|
args | ) |
|
Return the value of OPTION.
def Tkinter.PhotoImage.configure |
( |
|
args | ) |
|
def Tkinter.PhotoImage.configure |
( |
|
args | ) |
|
def Tkinter.PhotoImage.copy |
( |
|
args | ) |
|
Return a new PhotoImage with the same image as this widget.
def Tkinter.PhotoImage.get |
( |
|
args | ) |
|
Return the color (red, green, blue) of the pixel at X,Y.
def Tkinter.PhotoImage.height |
( |
|
args | ) |
|
Return the height of the image.
Reimplemented from Tkinter.Image.
def Tkinter.PhotoImage.put |
( |
|
args | ) |
|
Put row formatted colors to image starting from
position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))
def Tkinter.PhotoImage.subsample |
( |
|
args | ) |
|
Return a new PhotoImage based on the same image as this widget
but use only every Xth or Yth pixel.
def Tkinter.PhotoImage.type |
( |
|
args | ) |
|
Return the type of the imgage, e.g. "photo" or "bitmap".
Reimplemented from Tkinter.Image.
def Tkinter.PhotoImage.width |
( |
|
args | ) |
|
def Tkinter.PhotoImage.write |
( |
|
args | ) |
|
Write image to file FILENAME in FORMAT starting from
position FROM_COORDS.
def Tkinter.PhotoImage.zoom |
( |
|
args | ) |
|
Return a new PhotoImage with the same image as this widget
but zoom it with X and Y.