Thomas Guettler <[EMAIL PROTECTED]> writes: > 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?
Yes. It's due to Imlib's broken caching scheme. This is essentially unfixable. You want to use gdk_pixbuf instead, if possible. -Jonathan _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
