pub fn jpegsave_buffer_with_opts(
inp: &VipsImage,
jpegsave_buffer_options: &JpegsaveBufferOptions,
) -> Result<Vec<u8>>
Expand description
VipsForeignSaveJpegBuffer (jpegsave_buffer), save image to jpeg buffer (.jpg, .jpeg, .jpe, .jfif), priority=0, rgb-cmyk
inp: &VipsImage
-> Image to save
jpegsave_buffer_options: &JpegsaveBufferOptions
-> optional arguments
returns Vec<u8>
- Buffer to save to