GdkPixbuf.PixbufFormat
Description: Reference for GdkPixbuf.PixbufFormat

### Struct

# GdkPixbuf.PixbufFormat

#### 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`
`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 `GdkPixbufFormatFlags`
`disabled` | a boolean determining whether the loader is disabled`
`license` | a string containing license information, typically set to shorthands like “GPL”, “LGPL”, etc.

#### Instance methods

###### gdk_pixbuf_format_copy

Creates a copy of `format`.

###### gdk_pixbuf_format_free

Frees the resources allocated when copying a `GdkPixbufFormat` using `gdk_pixbuf_format_copy()`

###### gdk_pixbuf_format_get_description

Returns a description of the format.

###### gdk_pixbuf_format_get_extensions

Returns the filename extensions typically used for files in the given format.

###### gdk_pixbuf_format_get_license

Returns information about the license of the image loader for the format.

###### gdk_pixbuf_format_get_mime_types

Returns the mime types supported by the format.

###### gdk_pixbuf_format_get_name

Returns the name of the format.

###### gdk_pixbuf_format_is_disabled

Returns whether this image format is disabled.

###### 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`.

###### gdk_pixbuf_format_is_scalable

Returns whether this image format is scalable.

###### gdk_pixbuf_format_is_writable

Returns whether pixbufs can be saved in the given format.

###### gdk_pixbuf_format_set_disabled

Disables or enables an image format.