Method
VipsImagejp2ksave_buffer
Declaration [src]
int
vips_jp2ksave_buffer (
VipsImage* in,
void** buf,
size_t* len,
...
)
Description [src]
As vips_jp2ksave(), but save to a target.
::: tip “Optional arguments”
* Q: gint, quality factor
* lossless: gboolean, enables lossless compression
* tile_width: gint, tile width
* tile_height: gint, tile width
* subsample_mode: VipsForeignSubsample, chroma subsampling mode
::: seealso
vips_jp2ksave(), vips_image_write_to_target().
Parameters
buf |
An array of guint8 |
Return output buffer here. |
|
The length of the array is specified in the len argument. | |
| The data is owned by the caller of the function. | |
len |
size_t* |
Return output length here. |
|
| The data is owned by the caller of the function. | |
... |
none |
|