Constructor
PurpleImagenew_from_bytes
unstable since: 3.0
[−]
Parameters
bytes
-
Type:
GBytes
A
GBytes
containing the raw image data.The data is owned by the caller of the function.
[−]
Return value
Type: PurpleImage
The new PurpleImage
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |