Hello every body!
I think that I can serialize the tkinter objects with this way:
A mode is:
# --- Encoder.py
import base64, shelve
# The idea is encode the data file to persist, and than decode to read...
pngFile = open("image.png", "rb")
content = pngFile.read()
content.close()
Hello everybody,
I'm a new user of this List.
OBS: forgive my english (I'm a brazilian student)
My question:
I want save PhotoImage (Tkinter.PhotoImage or/and PIL.tkImage.PhotoImage)
objects, but Tkinter classes cannot be serialized, so I thought in get all
pixels and serialize this tuple, when in