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.
This function is 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.
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
gdkpixbuf.pixbuf_format.PixbufFormat.getMimeTypes on each of the #GdkPixbufFormat
structs returned by gdkpixbuf.pixbuf.Pixbuf.getFormats.
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.
This function is 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.
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 gdkpixbuf.pixbuf_format.PixbufFormat.getMimeTypes on each of the #GdkPixbufFormat structs returned by gdkpixbuf.pixbuf.Pixbuf.getFormats.