![]() |
![]() |
Public Member Functions | |
Glib::ustring | get_description () const |
Returns a description of the format. | |
Glib::StringArrayHandle | get_extensions () const |
Returns the filename extensions typically used for files in the given format. | |
Glib::ustring | get_license () const |
Returns information about the license of the image loader for the format. | |
Glib::StringArrayHandle | get_mime_types () const |
Returns the mime types supported by the format. | |
Glib::ustring | get_name () const |
Returns the name of the format. | |
const GdkPixbufFormat* | gobj () const |
Provides access to the underlying C GObject. | |
GdkPixbufFormat* | gobj () |
Provides access to the underlying C GObject. | |
bool | is_disabled () const |
Returns whether this image format is disabled. | |
bool | is_scalable () const |
Returns whether this image format is scalable. | |
bool | is_writable () const |
Returns whether pixbufs can be saved in the given format. | |
PixbufFormat& | operator= (const PixbufFormat& src) |
PixbufFormat (const PixbufFormat& src) | |
PixbufFormat (const GdkPixbufFormat* gobject) | |
PixbufFormat () | |
void | set_disabled (bool disabled=true) |
Disables or enables an image format. | |
virtual | ~PixbufFormat () |
Protected Attributes | |
const GdkPixbufFormat* | gobject_ |
|
|
|
|
|
|
|
|
|
Returns a description of the format.
|
|
Returns the filename extensions typically used for files in the given 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.
|
|
Returns the mime types supported by the format.
|
|
Returns the name of the format.
|
|
Provides access to the underlying C GObject.
|
|
Provides access to the underlying C GObject.
|
|
Returns whether this image format is disabled. See gdk_pixbuf_format_set_disabled().
|
|
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.
|
|
Returns whether pixbufs can be saved in the given 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().
|
|
|