Learn R Programming

RGtk2 (version 2.8.7)

gdkPixbufLoaderNewWithType: gdkPixbufLoaderNewWithType

Description

Creates a new pixbuf loader object that always attempts to parse image data as if it were an image of type image.type, instead of identifying the type automatically. Useful if you want an error if the image isn't the expected type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific type.

Usage

gdkPixbufLoaderNewWithType(image.type, .errwarn = TRUE)

Arguments

Value

A list containing the following elements:retval[GdkPixbufLoader] A newly-created pixbuf loader.error[GError] return location for an allocated GError, or NULL to ignore errors