Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

png images not shown in windows #14

Open
nzjrs opened this issue Feb 6, 2011 · 0 comments
Open

png images not shown in windows #14

nzjrs opened this issue Feb 6, 2011 · 0 comments

Comments

@nzjrs
Copy link
Owner

nzjrs commented Feb 6, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant