Function libvips::ops::thumbnail_buffer
source · Expand description
VipsThumbnailBuffer (thumbnail_buffer), generate thumbnail from buffer
buffer: &[u8]
-> Buffer to load from
width: i32
-> Size to this width
min: 1, max: 10000000, default: 1
returns VipsImage
- Output image