Struct libvips::VipsImage [−][src]
pub struct VipsImage { /* fields omitted */ }
Implementations
This is the main type of vips. It represents an image and most operations will take one as input and output a new one. In the moment this type is not thread safe. Be careful working within thread environments.
pub fn new_from_file_raw(
filename: &str,
x_size: i32,
y_size: i32,
bands: i32,
offset: u64
) -> Result<VipsImage>
pub fn new_from_memory(
buffer: &[u8],
width: i32,
height: i32,
bands: i32,
format: BandFormat
) -> Result<VipsImage>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VipsImage
impl UnwindSafe for VipsImage
Blanket Implementations
Mutably borrows from an owned value. Read more