$ python import gtk gtk.gdk.pixbuf_get_formats()