Hello all!
I don't know if it's a good idea writing an image viewer in pygtk for 
performance motive, but I'd like it at least for personal use.
The core function is this:

def Make_Thumbnails(self,event):
        i=0
        for infile in self.list:
            pixbuf = gtk.gdk.pixbuf_new_from_file(infile)                  
scaled_buf=pixbuf.scale_simple(200,150,gtk.gdk.INTERP.BILINEAR)
            self.image[i].set_from_pixbuf(scaled_buf)
            i+=1
            del pixbuf

The problem is that the gallery is dispayed  when all images are processed.
Is it possible display images progressively?
I've tried with the gtk.gdkpixbufloader() , with the same result.
Thanks! 


------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada1marz07


_______________________________________________
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