Function libvips::ops::rawload_with_opts

source ·
pub fn rawload_with_opts(
    filename: &str,
    width: i32,
    height: i32,
    bands: i32,
    rawload_options: &RawloadOptions
) -> 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 rawload_options: &RawloadOptions -> optional arguments returns VipsImage - Output image