Store the given texture to the filename as a PNG file.
This is a utility function intended for debugging and testing.
If you want more control over formats, proper error handling or
want to store to a gio.file.File or other location, you might want to
use gdk.texture.Texture.saveToPngBytes or look into the
gdk-pixbuf library.
Store the given texture to the filename as a PNG file.
This is a utility function intended for debugging and testing. If you want more control over formats, proper error handling or want to store to a gio.file.File or other location, you might want to use gdk.texture.Texture.saveToPngBytes or look into the gdk-pixbuf library.