Package: gdk

Function gdk:texture-save-to-png

Lambda List

gdk:texture-save-to-png (texture filename)

Arguments

texture -- a gdk:texture object
filename -- a string for the filename to store to

Return Value

True if saving succed, false on failure.

Details

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 g:file object or other location, you might want to look into using the GdkPixbuf library.
 

See also

#2025-3-11