PixbufFormat
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gdk_pixbuf_format_get_type ()" ) ]
[ Compact ]
[ Version ( since = "2.2" ) ]
public class PixbufFormat
A `GdkPixbufFormat` contains information about the image format accepted by a module.
Only modules should access the fields directly, applications should use the `gdk_pixbuf_format_*` family of functions.
Content:
Methods:
- public PixbufFormat copy ()
Creates a copy of `format`.
- public void free ()
Frees the resources allocated when copying a `GdkPixbufFormat` using
copy
- public string get_description ()
Returns a description of the format.
- public string[] get_extensions ()
Returns the filename extensions typically used for files in the given
format.
- public string get_license ()
Returns information about the license of the image loader for the
format.
- public string[] get_mime_types ()
Returns the mime types supported by the format.
- public string get_name ()
Returns the name of the format.
- public bool is_disabled ()
Returns whether this image format is disabled.
- public bool is_save_option_supported (string option_key)
Returns `TRUE` if the save option specified by option_key
is supported when saving a pixbuf using the module implementing this.
- public bool is_scalable ()
Returns whether this image format is scalable.
- public bool is_writable ()
Returns whether pixbufs can be saved in the given format.
- public void set_disabled (bool disabled)
Disables or enables an image format.
Fields: