Constructor
PurpleImagenew_from_data
unstable since: 3.0
Declaration [src]
PurpleImage*
purple_image_new_from_data (
gconstpointer data,
gsize size
)
Parameters
data-
Type:
gconstpointerThe raw image data.
The argument can be NULL.The data is owned by the caller of the function. size-
Type:
gsizeThe size of the raw image data.
Return value
Type: PurpleImage
The new instance.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |