Hi!

I use GdkImLib.Image(filename) to load and display jpeg files. The
picture gets displayed on a window where the user can choose to rotate
the image:

img=GdkImLib.Image(filename)
#(1)... rotate filename with shell script calling image-magic
img=GdkImLib.Image(filename)

The second time I load it, it is not rotated although the jpeg data
got rotated. Does GdkImLib cache the image?

It even gets stranger: If I add img=None at (1) the image
gets rotated if I rotate it 90 or 270 degrees. If it gets
rotated 180 I still see the old picture.

Does someone know why the images gets cached?

 thomas


-- 
Thomas Guettler <[EMAIL PROTECTED]>
http://www.thomas-guettler.de

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to