[−][src]Function libvips::ops::extract_area
pub fn extract_area(
input: &VipsImage,
left: i32,
top: i32,
width: i32,
height: i32
) -> Result<VipsImage>
VipsExtractArea (extract_area), extract an area from an image
input: &VipsImage
-> Input image
left: i32
-> Left edge of extract area
min: -10000000, max: 10000000, default: 0
top: i32
-> Top edge of extract area
min: -10000000, max: 10000000, default: 0
width: i32
-> Width of extract area
min: 1, max: 10000000, default: 1
height: i32
-> Height of extract area
min: 1, max: 10000000, default: 1
returns VipsImage
- Output image