Function libvips::ops::rawload

source ·
pub fn rawload(
    filename: &str,
    width: i32,
    height: i32,
    bands: i32
) -> Result<VipsImage>
Expand description

VipsForeignLoadRaw (rawload), load raw data from a file, priority=0, untrusted, get_flags, get_flags_filename, header filename: &str -> Filename to load from width: i32 -> Image width in pixels min: 0, max: 10000000, default: 0 height: i32 -> Image height in pixels min: 0, max: 10000000, default: 0 bands: i32 -> Number of bands in image min: 0, max: 10000000, default: 0 returns VipsImage - Output image