Description Usage Arguments Details Value Author(s)
Creates a new pixbuf loader object that always attempts to parse
image data as if it were an image of mime type mime.type
, instead of
identifying the type automatically. Useful if you want an error if
the image isn't the expected mime type, for loading image formats
that can't be reliably identified by looking at the data, or if
the user manually forces a specific mime type.
1 | gdkPixbufLoaderNewWithMimeType(mime.type, .errwarn = TRUE)
|
|
the mime type to be loaded |
.errwarn |
Whether to issue a warning on error or fail silently |
The list of supported mime types depends on what image loaders
are installed, but typically "image/png", "image/jpeg", "image/gif",
"image/tiff" and "image/x-xpixmap" are among the supported mime types.
To obtain the full list of supported mime types, call
gdkPixbufFormatGetMimeTypes
on each of the GdkPixbufFormat
structs returned by gdkPixbufGetFormats
.
Since 2.4
A list containing the following elements:
retval |
[ |
|
return location for an allocated |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.