osm-gps-map
osm-gps-map copied to clipboard
png images not shown in windows
See mailing list
I came around a strange problem trying to add an image to a Map object. When calling add_image I get the following error.
GtkWarning: gdk_drawable_real_draw_pixbuf: assertion `src_y >= 0 && src_y + height <= gdk_pixbuf_get_height (pixbuf)' failed gtk.main()
I'm using the precompiled builds available at the website ( btw, can you please fix the error on the link for the windows version of 0.7.3 ? ) or actually the link that is provided in John's blog for 0.7.2 . The same happens when trying to run some of your examples where add_image is called..
No such errors using the linux version ( tested from source and packages for 0.7.3 ).
Any ideas ?
I used the all-in-one bundle offered at http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.22/ . So GTK+ is 2.22.x .
Your answer got me to check some more, the problem is more specific, only occurs with .png format. jpeg images are rendered without any problem.