Method

VipsTargetwrite

Declaration [src]

int
vips_target_write (
  VipsTarget* target,
  void* data,
  size_t length
)

Description [src]

Write length bytes from data to the output.

Parameters

data void*
 

Data to write.

 The argument can be NULL.
 The data is owned by the caller of the function.
length size_t
 

Length of data in bytes.

Return value

Returns: int
 

0 on success, -1 on error.