Struct
GdkPixbufPixbufFormat
Description [src]
struct GdkPixbufFormat {
gchar* name;
GdkPixbufModulePattern* signature;
gchar* domain;
gchar* description;
gchar** mime_types;
gchar** extensions;
guint32 flags;
gboolean disabled;
gchar* license;
}
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.
Structure members
name |
The name of the image format. |
signature |
The signature of the module. |
domain |
The message domain for the |
description |
A description of the image format. |
mime_types |
The MIME types for the image format. |
extensions |
Typical filename extensions for the image format. |
flags |
A combination of |
disabled |
A boolean determining whether the loader is disabled` |
license |
A string containing license information, typically set to shorthands like “GPL”, “LGPL”, etc. |
Available since: | 2.2 |
Instance methods
gdk_pixbuf_format_free
Frees the resources allocated when copying a GdkPixbufFormat
using gdk_pixbuf_format_copy()
Available since: 2.22
gdk_pixbuf_format_get_extensions
Returns the filename extensions typically used for files in the given format.
Available since: 2.2
gdk_pixbuf_format_get_license
Returns information about the license of the image loader for the format.
Available since: 2.6
gdk_pixbuf_format_get_mime_types
Returns the mime types supported by the format.
Available since: 2.2
gdk_pixbuf_format_is_save_option_supported
Returns TRUE
if the save option specified by option_key
is supported when
saving a pixbuf using the module implementing format
.
Available since: 2.36
gdk_pixbuf_format_is_writable
Returns whether pixbufs can be saved in the given format.
Available since: 2.2