tkinter + base64 - problem

Fragen zu Tkinter.
Antworten
Benutzeravatar
jtschoch
User
Beiträge: 400
Registriert: Freitag 6. Mai 2011, 15:40
Kontaktdaten:

Ja, ich habe das hinbekommen, aber
ich wollte das Bild mit thumbnail kleiner machen aber da bekomme ich eine Fehlermeldung:

Code: Alles auswählen

<PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=128x91 at 0x1697418>

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python27\lib\lib-tk\Tkinter.py", line 1410, in __call__
    return self.func(*args)
  File "J:\JT_proj\python\base64\mybase642.py", line 50, in pfadopen
    image_label.config(image=image_label.imported_image)
  File "C:\Python27\lib\lib-tk\Tkinter.py", line 1202, in configure
    return self._configure('configure', cnf, kw)
  File "C:\Python27\lib\lib-tk\Tkinter.py", line 1193, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: image specification must contain an odd number of elements
Meine code Hier
Meine Webseite http://www.develos.de
Forum: http://www.develos.de/forum
Mein Minecraft-Server: jonel.minecraft.to [dynmap(:8123)] | Webseite: http://jonel-minecraft.tk
Antworten