Constructor
VipsGInputStreamnew_from_source
Declaration [src]
GInputStream*
vips_g_input_stream_new_from_source (
VipsSource* source
)
Description [src]
Create a new GInputStream wrapping a VipsSource. This is
useful for loaders like SVG and PDF which support GInputStream methods.
::: seealso
vips_source_g_input_stream_new()
Parameters
source |
VipsSource |
Vips source to wrap. |
|
| The data is owned by the caller of the function. |
Return value
| Returns: | GInputStream |
A new |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |