GdkImLib: Image(filename) seems to cache
Thomas Guettler
pan-newsreader at thomas-guettler.de
Sun Jun 16 18:18:12 EDT 2002
Hi!
I use GdkImLib.Image(filename) to load and display jpeg files:
img=GdkImLib.Image(filename)
#(1)... rotate filename with shell script calling image-magic
img=GdkImLib.Image(filename)
but the image seems to be cached. The second time I load
it, it is not rotated.
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 seems to be cached
thomas
More information about the Python-list
mailing list