Method
VipsSourcemap
Declaration [src]
void*
vips_source_map (
VipsSource* source,
size_t* length
)
Description [src]
Map the source entirely into memory and return a pointer to the
start. If length
is non-NULL, the source size is written to it.
This operation can take a long time. Use vips_source_is_mappable()
to
check if a source can be mapped efficiently.
The pointer is valid for as long as source
is alive.