#include <VConnection8.h>
Public Member Functions | |
VTarget (VipsTarget *output, VSteal steal=STEAL) | |
VipsTarget * | get_target () const |
![]() | |
VObject (VipsObject *new_vobject, VSteal steal=STEAL) | |
VObject (const VObject &a) | |
VObject & | operator= (const VObject &a) |
VipsObject * | get_object () const |
bool | is_null () const |
Static Public Member Functions | |
static VTarget | new_to_descriptor (int descriptor) |
static VTarget | new_to_file (const char *filename) |
static VTarget | new_to_memory () |
A generic target object. Savers can use these to write a stream of bytes somewhere, see VImage::write_to_target().
Methods let you can connect a target up to memory, a file or a file descriptor. Use vips::VTargetCustom to implement custom targets using GObject signals.
|
inlineexplicit |
Wrap a VTarget around an underlying VipsTarget object.
|
inline |
Get a pointer to the underlying VipsTarget object.
|
static |
Make a new VTarget which, when written to, will write to a file descriptor.
|
static |
Make a new VTarget which, when written to, will write to a file.
|
static |
Make a new VTarget which, when written to, will write to a file descriptor.