GInputStream*vips_g_input_stream_new_from_source(VipsSource*source)
Create a newGInputStream
wrapping aVipsSource
. This isuseful for loaders likeSVG andPDF which supportGInputStream
methods.
See also
source
Type: VipsSource
Vips source to wrap.
The data is owned by the caller of the function. |
Type: GInputStream
A newGInputStream
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |