[][src]Function libvips::ops::thumbnail_buffer_with_opts

pub fn thumbnail_buffer_with_opts(
    buffer: &[u8],
    width: i32,
    thumbnail_buffer_options: &ThumbnailBufferOptions
) -> Result<VipsImage>

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 thumbnail_buffer_options: &ThumbnailBufferOptions -> optional arguments returns VipsImage - Output image