gboolean gdk_pixbuf_loader_close ( GdkPixbufLoader* loader GError** error )
Informs a pixbuf loader that no further writes with
gdk_pixbuf_loader_write() will occur, so that it can free its
internal loading structures.
This function also tries to parse any data that hasn’t yet been parsed; if the remaining data is partial or corrupt, an error will be returned.
FALSE is returned,
error will be set to an error from the
If you’re just cancelling a load rather than expecting it to be finished,
error to ignore it is reasonable.
Remember that this function does not release a reference on the loader, so you will need to explicitly release any reference you hold.