Constructor
PurpleImagenew_from_bytes
unstable since: 3.0
Declaration [src]
PurpleImage*
purple_image_new_from_bytes (
GBytes* bytes
)
Parameters
bytes
-
Type:
GBytes
The new image data.
The data is owned by the caller of the function.
Return value
Type: PurpleImage
The new instance.
The caller of the function takes ownership of the data, and is responsible for freeing it. |