Method
VipsImageencode
Declaration [src]
int
vips_image_encode (
VipsImage* in,
VipsImage** out,
VipsCoding coding
)
Description [src]
A convenience function to pack to a coding. The inverse of vips_image_decode().
See also: vips_image_decode().
Parameters
out |
VipsImage |
Write to this image. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
coding |
VipsCoding |
Coding to apply. |