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
Parameters
out
-
Type:
VipsImage
Write to this image.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. coding
-
Type:
VipsCoding
Coding to apply.