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) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
PixbufFormat self() nothrowReturns `this`, for use in `with` statements.
string name() @property nothrowGet `name` field. Returns: the name of the image format
void name(string propval) @property nothrowSet `name` field. Params: propval = the name of the image format
gdkpixbuf.pixbuf_module_pattern.PixbufModulePattern signature() @property nothrowGet `signature` field. Returns: the signature of the module
string domain() @property nothrowGet `domain` field. Returns: the message domain for the `description`
void domain(string propval) @property nothrowSet `domain` field. Params: propval = the message domain for the `description`
string description() @property nothrowGet `description` field. Returns: a description of the image format
void description(string propval) @property nothrowSet `description` field. Params: propval = a description of the image format
uint flags() @property nothrowGet `flags` field. Returns: a combination of [gdkpixbuf.types.PixbufFormatFlags]
void flags(uint propval) @property nothrowSet `flags` field. Params: propval = a combination of [gdkpixbuf.types.PixbufFormatFlags]
bool disabled() @property nothrowGet `disabled` field. Returns: a boolean determining whether the loader is disabled`
void disabled(bool propval) @property nothrowSet `disabled` field. Params: propval = a boolean determining whether the loader is disabled`
string license() @property nothrowGet `license` field. Returns: a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.
void license(string propval) @property nothrowSet `license` field. Params: propval = a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.
gdkpixbuf.pixbuf_format.PixbufFormat copy() nothrowCreates a copy of `format`. Returns: the newly allocated copy of a [gdkpixbuf.pixbuf_format.PixbufFormat]. Use [gdkpixbuf.pixbuf_format.PixbufFormat.free] to free the resources when done
string getDescription() nothrowReturns a description of the format. Returns: a description of the format.
string[] getExtensions() nothrowReturns the filename extensions typically used for files in the given format. Returns: an array of filename extensions
string getLicense() nothrowReturns information about the license of the image loader for the format.
string[] getMimeTypes() nothrowReturns the mime types supported by the format. Returns: an array of mime types
string getName() nothrowReturns the name of the format. Returns: the name of the format.
bool isDisabled() nothrowReturns whether this image format is disabled.
bool isSaveOptionSupported(string optionKey) nothrowReturns `TRUE` if the save option specified by option_key is supported when saving a pixbuf using the module implementing format.
bool isScalable() nothrowReturns whether this image format is scalable.
bool isWritable() nothrowReturns whether pixbufs can be saved in the given format. Returns: whether pixbufs can be saved in the given format.
void setDisabled(bool disabled) nothrowDisables 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)