Method

PurpleImageget_contents

unstable since: 3.0

Declaration [src]

GBytes*
purple_image_get_contents (
  PurpleImage* image
)

Description [src]

Returns a new reference to the GBytes that contains the image data.

Available since: 3.0

Gets propertyPurple.Image:contents

Return value

Type: GBytes

A GBytes containing the image data.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.