PixbufFormat

class PixbufFormat(pointer: <Error class: unknown class><<Error class: unknown class>>)

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.

Skipped during bindings generation

  • field mime_types: Fields with arrays are not supported

  • field extensions: Fields with arrays are not supported

Since

2.2

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

a description of the image format

Link copied to clipboard

a boolean determining whether the loader is disabled`

Link copied to clipboard

the message domain for the description

Link copied to clipboard
var flags: <Error class: unknown class>

a combination of GdkPixbufFormatFlags

Link copied to clipboard
val gdkpixbufPixbufFormatPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard

a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.

Link copied to clipboard
val name: String?

the name of the image format

Link copied to clipboard

the signature of the module

Functions

Link copied to clipboard

Creates a copy of format.

Link copied to clipboard
fun free()

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

Link copied to clipboard

Returns a description of the format.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Returns the mime types supported by the format.

Link copied to clipboard

Returns the name of the format.

Link copied to clipboard

Returns whether this image format is disabled.

Link copied to clipboard

Returns TRUE if the save option specified by @option_key is supported when saving a pixbuf using the module implementing @format.

Link copied to clipboard

Returns whether this image format is scalable.

Link copied to clipboard

Returns whether pixbufs can be saved in the given format.

Link copied to clipboard
fun setDisabled(disabled: Boolean)

Disables or enables an image format.