Hi,

is there a special trick to reading compressed svgz images?

gtk.gdk.pixbuf_get_formats() lists svgz (image/svg+xml-compressed)
among the supported formats, but gtk.gdk.pixbuf_new_from_file() gives me

glib.GError: Couldn't recognize the image file format for file
'deck9.svgz'

When I uncompress the file, reading works fine. So it seems that either
the list from gtk.gdk.pixbuf_get_formats() is wrong or
something in gtk.gdk.pixbuf_new_from_file().

MSB

-- 
Either start working for a better future
or stop complaining about the bad present.

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to