gdkpixbuf.pixbuf_format

Module for [PixbufFormat] class

Types 1

A [gdkpixbuf.pixbuf_format.PixbufFormat] 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.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
PixbufFormat self()Returns `this`, for use in `with` statements.
string name() @propertyGet `name` field. Returns: the name of the image format
void name(string propval) @propertySet `name` field. Params: propval = the name of the image format
gdkpixbuf.pixbuf_module_pattern.PixbufModulePattern signature() @propertyGet `signature` field. Returns: the signature of the module
string domain() @propertyGet `domain` field. Returns: the message domain for the `description`
void domain(string propval) @propertySet `domain` field. Params: propval = the message domain for the `description`
string description() @propertyGet `description` field. Returns: a description of the image format
void description(string propval) @propertySet `description` field. Params: propval = a description of the image format
uint flags() @propertyGet `flags` field. Returns: a combination of [gdkpixbuf.types.PixbufFormatFlags]
void flags(uint propval) @propertySet `flags` field. Params: propval = a combination of [gdkpixbuf.types.PixbufFormatFlags]
bool disabled() @propertyGet `disabled` field. Returns: a boolean determining whether the loader is disabled`
void disabled(bool propval) @propertySet `disabled` field. Params: propval = a boolean determining whether the loader is disabled`
string license() @propertyGet `license` field. Returns: a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.
void license(string propval) @propertySet `license` field. Params: propval = a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.
gdkpixbuf.pixbuf_format.PixbufFormat copy()Creates a copy of `format`. Returns: the newly allocated copy of a [gdkpixbuf.pixbufformat.PixbufFormat]. Use [gdkpixbuf.pixbufformat.PixbufFormat.free] to free the resources when done
string getDescription()Returns a description of the format. Returns: a description of the format.
string[] getExtensions()Returns the filename extensions typically used for files in the given format. Returns: an array of filename extensions
string getLicense()Returns information about the license of the image loader for the format.
string[] getMimeTypes()Returns the mime types supported by the format. Returns: an array of mime types
string getName()Returns the name of the format. Returns: the name of the format.
bool isDisabled()Returns whether this image format is disabled.
bool isSaveOptionSupported(string optionKey)Returns `TRUE` if the save option specified by option_key is supported when saving a pixbuf using the module implementing format.
bool isScalable()Returns whether this image format is scalable.
bool isWritable()Returns whether pixbufs can be saved in the given format. Returns: whether pixbufs can be saved in the given format.
void setDisabled(bool disabled)Disables or enables an image format.
Constructors
this(string name = string.init, string domain = string.init, string description = string.init, uint flags = uint.init, bool disabled = bool.init, string license = string.init)Create a `pixbuf_format.PixbufFormat` boxed type. Params: name = the name of the image format domain = the message domain for the `description` description = a description of the image format flags...
this(void * ptr, Flag!"Take" take)