Thomas Guettler wrote: >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? > > Yes. If you call "img.changed()" after creating the first GdkImlib.Image object. If you want a library with more predictable behaviour, try using the gdk-pixbuf binding.
James. -- Email: [EMAIL PROTECTED] | Linux.conf.au 2003 Call for Papers out WWW: http://www.daa.com.au/~james/ | http://conf.linux.org.au/cfp.html _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
