Struct
GdkPixbufPixbufFormat
since: 2.2
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
nameThe name of the image format.
signatureThe signature of the module.
domainThe message domain for the
description.descriptionA description of the image format.
mime_typesThe MIME types for the image format.
extensionsTypical filename extensions for the image format.
flagsA combination of
GdkPixbufFormatFlags.disabledA boolean determining whether the loader is disabled`.
licenseA 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().
since: 2.22
gdk_pixbuf_format_get_extensions
Returns the filename extensions typically used for files in the given format.
since: 2.2
gdk_pixbuf_format_get_license
Returns information about the license of the image loader for the format.
since: 2.6
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.
since: 2.36