A binding to libvips
.
libvips
is implemented.
If you cannot find an interface you need, you can use vips-sys
directly.```rs extern crate vipsrs; use vipsrs::*;
fn main() { let instance = VipsInstance::new("apptest", true); let mut img = VipsImage::newfromfile("kodim01.png").unwrap(); let mut img = img.thumbnail(123, 234, VipsSize::VIPSSIZEFORCE); img.writetofile("kodim01123x234.png").unwrap(); } ```
vips_shutdown
after vips_init
?VipsImage
enforce ownership?