PixbufFormat

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.

Members

Functions

copy
gdkpixbuf.pixbuf_format.PixbufFormat copy()

Creates a copy of format.

getDescription
string getDescription()

Returns a description of the format.

getExtensions
string[] getExtensions()

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

getLicense
string getLicense()

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

getMimeTypes
string[] getMimeTypes()

Returns the mime types supported by the format.

getName
string getName()

Returns the name of the format.

isDisabled
bool isDisabled()

Returns whether this image format is disabled.

isSaveOptionSupported
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.

isScalable
bool isScalable()

Returns whether this image format is scalable.

isWritable
bool isWritable()

Returns whether pixbufs can be saved in the given format.

setDisabled
void setDisabled(bool disabled)

Disables or enables an image format.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.