Method

PurpleImageget_data

unstable since: 3.0

Declaration [src]

gconstpointer
purple_image_get_data (
  PurpleImage* image,
  gsize* size
)

Description [src]

Gets the data of the image.

Optionally the size can be returned as well via size parameter.

Available since: 3.0

Gets propertyPurple.Image:data

Parameters

size

Type: gsize*

A return address for the length of the data.

The argument will be set by the function.
The argument can be set to NULL by the method.

Return value

Type: gconstpointer

The data.

The returned data is owned by the instance.
The return value can be NULL.