| Import line: | GdkPixbuf = imports.gi.GdkPixbuf; |
| GIR File: | GdkPixbuf-2.0.gir |
| C documentation: | GdkPixbufFormat |
| Struct : | PixbufFormat |
| Show / Hide Inherited methods, properties and signals |
| Properties | Defined By | |
|---|---|---|
|
description : String
|
GdkPixbuf.PixbufFormat | |
|
disabled : Boolean
|
GdkPixbuf.PixbufFormat | |
|
domain : String
|
GdkPixbuf.PixbufFormat | |
|
extensions : String
|
GdkPixbuf.PixbufFormat | |
|
flags : Number
|
GdkPixbuf.PixbufFormat | |
|
license : String
|
GdkPixbuf.PixbufFormat | |
|
mime_types : String
|
GdkPixbuf.PixbufFormat | |
|
name : String
|
GdkPixbuf.PixbufFormat | |
|
signature : GdkPixbuf.PixbufModulePattern
|
GdkPixbuf.PixbufFormat | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new GdkPixbuf.PixbufFormat
()
Create a new GdkPixbuf.PixbufFormat
Create a new GdkPixbuf.PixbufFormat
|
||
|
get_description
()
:
String
Returns a description of the format.
Returns a description of the format.
|
GdkPixbuf.PixbufFormat | |
|
get_extensions
()
:
Array
Returns the filename extensions typically used for files in the given format.
Returns the filename extensions typically used for files in the given format. freed with g_strfreev() when it is no longer needed.
|
GdkPixbuf.PixbufFormat | |
|
get_license
()
:
String
Returns information about the license of the image loader for the format.
Returns information about the license of the image loader for the format. The returned string should be a shorthand for a wellknown license, e.g. "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This string should be freed with g_free() when it's no longer needed.
|
GdkPixbuf.PixbufFormat | |
|
get_mime_types
()
:
Array
Returns the mime types supported by the format.
Returns the mime types supported by the format. g_strfreev() when it is no longer needed.
|
GdkPixbuf.PixbufFormat | |
|
get_name
()
:
String
Returns the name of the format.
Returns the name of the format.
|
GdkPixbuf.PixbufFormat | |
|
is_disabled
()
:
Boolean
Returns whether this image format is disabled.
Returns whether this image format is disabled. See gdk_pixbuf_format_set_disabled().
|
GdkPixbuf.PixbufFormat | |
|
is_scalable
()
:
Boolean
Returns whether this image format is scalable.
Returns whether this image format is scalable. If a file is in a scalable format, it is preferable to load it at the desired size, rather than loading it at the default size and scaling the resulting pixbuf to the desired size.
|
GdkPixbuf.PixbufFormat | |
|
is_writable
()
:
Boolean
Returns whether pixbufs can be saved in the given format.
Returns whether pixbufs can be saved in the given format.
|
GdkPixbuf.PixbufFormat | |
|
set_disabled
(Boolean disabled)
:
none
Disables or enables an image format.
Disables or enables an image format. If a format is disabled, gdk-pixbuf won't use the image loader for this format to load images. Applications can use this to avoid using image loaders with an inappropriate license, see gdk_pixbuf_format_get_license().
|
GdkPixbuf.PixbufFormat | |
| None |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
GdkPixbuf.Pixbuf
Method |
Parses an image file far enough to determine its format and size.
|
|
GdkPixbuf.PixbufLoader
Method |
get_format
()
:
GdkPixbuf.PixbufFormat
Obtains the available information about the format of the currently loading image file.
|