Bueno pues con wxPython al final me ha salido asi:
Código Python:
Ver originalimport wx,cStringIO,base64
b64_jpg = \
"""/9j/4AAQSkZJRgABAQEAYABgAAD/4QBoRXhpZgAASUkqAAgAAAAEABoBBQABAAAAPgAAABsBBQAB
AAAARgAAACgBAwABAAAAAgAAADEBAgARAAAATgAAAAAAAABgAAAAAQAAAGAAAAABAAAAQm9zYyBQ
eXRob24gSi5MLgD//9sAQwAXEBEUEQ4XFBIUGhgXGyI5JSIfHyJGMjUpOVJIV1VRSFBOW2aDb1th
fGJOUHKbc3yHi5KUklhtoKyfjqqDj5KN/9sAQwEYGhoiHiJDJSVDjV5QXo2NjY2NjY2NjY2NjY2N
jY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2N/8AAEQgATgBNAwEiAAIRAQMRAf/E
AB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE
EQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZH
SElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1
tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEB
AQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXET
IjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFla
Y2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXG
x8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A6JO9VrfUYrhI32SR
pKdqM4GGPPHBPoetWk71hWW6PSbS4m2vbxOW2BfmB3EA+/J6cVyU4+6aN6m9RVC1Rbqe6a5QOyTb
EVuQoAGCPTrmoI4ri4h4xKkE7qI5G4lXoMn296rlFc1qKzJLlWsY1tozCv2gQyqML5fPPT+nrWhF
BFCWMUSIW+8VUDP1pco7j6KWilYBKKWiiwDRwCTVaKxtIgqorbVOQpdioOc9CcVZbhCT0qIOGOAe
a2hHQlvUJIYHcyMCG7srFc49cdagN1p+PJEqoEGAEJXH4inXjKts5ZS3HCjua5abzZp3Cps9cVfK
hXOtjNq8BjTY0bZyvXOeuafGIohhSfxJJ/WuRittQsJYpyDzzt9veunglE8CyqCAw6GjlQXLXmJ6
/pTqrYq1UuIXEopaKXKO4xxmMjpWfLcLbOTJlQOpA4ArRf7hrM1Owa8TMUm1wMYPRvrWiViSx5sd
xbF4mEqkcbT1rN0oQwtLGWPm5OUI+Zf8jFcxeWl3YPieNkyeCDwfxqfSLpYbsCU5D4G7PT8aYHTX
JWSPbvY+WM4I5PtV23Ty7eNCSSFA5rkdU1WSeULFOzIp+mcfStCx8TIRsvI9mOjpyPxFAHQ1ZrFt
dcsrp9iuyN6OuP1raoAKKKKAGSnEZNZ73zjIjtZHI7dM1pMMjmm4AGcACgDC1yZpNBdpYTGxZRtP
OOa5GNN7bc49TW34g1o3Upt7YjyEPUD75/wrFMuQ2FwW60AKkDyTrFGCzOcL710UXhRdg825bd32
rwKzfDc8cesR+aoO8FVJ7Men+H413FAHPQ+G2ty5juAxPTcmP610tR1JQAUUUUAB6VDdQ/aLWWHO
PMQrn0yKmooA5az8Jt5qyXky7QcmNRnI+tas+gabLD5YtgnGAycEf4/jWpRQBwd5ot9ZXu2CGaVV
IZJEjJ/l3rtLbzmtozOuJSo3getWKKAI8H0NSUUUAFFFFAH/2Q==
"""
jpg_ = base64.b64decode(b64_jpg)
class jpg(wx.Frame):
def _init_ctrls(self, parent):
wx.Frame.__init__(self, id=-1, name='', parent=parent,pos=(472, 231), size=(100,150))
def __init__(self, parent):
self._init_ctrls(parent)
stream1 = cStringIO.StringIO(jpg_)
foto = wx.BitmapFromImage(wx.ImageFromStream(stream1))
wx.StaticBitmap(self, -1,foto)
if __name__ == '__main__':
app = wx.PySimpleApp()
frame = jpg(None)
frame.Show()
app.MainLoop()
Funciona ! El codigo muestra una imagen que no existe en disco.