Constructor

VipsSourceGInputStreamnew

Declaration [src]

VipsSourceGInputStream*
vips_source_g_input_stream_new (
  GInputStream* stream
)

Description [src]

Create a VipsSourceGInputStream which wraps stream.

::: seealso vips_g_input_stream_new_from_source()

Parameters

stream GInputStream
 

Read from this stream.

 The data is owned by the caller of the function.

Return value

Returns: VipsSourceGInputStream
 

The new source.

 The caller of the function takes ownership of the data, and is responsible for freeing it.