Deserializes (reconstruct) a Pixdata structure from a byte stream.
Use `GResource` instead.
The byte stream consists of a straightforward writeout of the `GdkPixdata` fields in network byte order, plus the `pixel_data` bytes the structure points to.
The `pixdata` contents are reconstructed byte by byte and are checked for validity.
This function may fail with `GDK_PIXBUF_ERROR_CORRUPT_IMAGE` or `GDK_PIXBUF_ERROR_UNKNOWN_TYPE`.
| this |
a Pixdata structure to be filled in. |
| stream |
stream of bytes containing a serialized Pixdata structure. |
| stream_length |
length of the stream used for deserialization. |
|
Upon successful deserialization `TRUE` is returned, `FALSE` otherwise. |