We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Help please with save Drawable into file.
get drawable
pixmap = gdk.NewPixmap(drawingarea.GetWindow().GetDrawable(), allocation.Width, allocation.Height, 16) gc = gdk.NewGC(pixmap.GetDrawable())
add image from pixbuf
pixmap.GetDrawable().DrawPixbuf(gc, pixbuf, 0, 0, 0, 0, defWidth, defHeight, gdk.RGB_DITHER_NONE, 0, 0)
how to save pixmap to file?
The text was updated successfully, but these errors were encountered:
Currently, not yet. I will do it in later. But AFAIK, most of cases, drawingarea is drawn from pixbuf or pixmap.
Sorry, something went wrong.
No branches or pull requests
Help please with save Drawable into file.
get drawable
add image from pixbuf
how to save pixmap to file?
The text was updated successfully, but these errors were encountered: