pub struct RawloadOptions {
pub offset: u64,
pub format: BandFormat,
pub interpretation: Interpretation,
pub flags: ForeignFlags,
pub memory: bool,
pub access: Access,
pub fail_on: FailOn,
pub revalidate: bool,
}Expand description
Options for rawload operation
Fields§
§offset: u64offset: u64 -> Offset in bytes from start of file
min: 0, max: 100000000000, default: 0
format: BandFormatformat: BandFormat -> Pixel format in image
Notset -> VIPS_FORMAT_NOTSET = -1
Uchar -> VIPS_FORMAT_UCHAR = 0 [DEFAULT]
Char -> VIPS_FORMAT_CHAR = 1
Ushort -> VIPS_FORMAT_USHORT = 2
Short -> VIPS_FORMAT_SHORT = 3
Uint -> VIPS_FORMAT_UINT = 4
Int -> VIPS_FORMAT_INT = 5
Float -> VIPS_FORMAT_FLOAT = 6
Complex -> VIPS_FORMAT_COMPLEX = 7
Double -> VIPS_FORMAT_DOUBLE = 8
Dpcomplex -> VIPS_FORMAT_DPCOMPLEX = 9
Last -> VIPS_FORMAT_LAST = 10
interpretation: Interpretationinterpretation: Interpretation -> Pixel interpretation
Error -> VIPS_INTERPRETATION_ERROR = -1
Multiband -> VIPS_INTERPRETATION_MULTIBAND = 0 [DEFAULT]
BW -> VIPS_INTERPRETATION_B_W = 1
Histogram -> VIPS_INTERPRETATION_HISTOGRAM = 10
Xyz -> VIPS_INTERPRETATION_XYZ = 12
Lab -> VIPS_INTERPRETATION_LAB = 13
Cmyk -> VIPS_INTERPRETATION_CMYK = 15
Labq -> VIPS_INTERPRETATION_LABQ = 16
Rgb -> VIPS_INTERPRETATION_RGB = 17
Cmc -> VIPS_INTERPRETATION_CMC = 18
Lch -> VIPS_INTERPRETATION_LCH = 19
Lab -> VIPS_INTERPRETATION_LABS = 21
Srgb -> VIPS_INTERPRETATION_sRGB = 22
Yxy -> VIPS_INTERPRETATION_YXY = 23
Fourier -> VIPS_INTERPRETATION_FOURIER = 24
Rgb16 -> VIPS_INTERPRETATION_RGB16 = 25
Grey16 -> VIPS_INTERPRETATION_GREY16 = 26
Matrix -> VIPS_INTERPRETATION_MATRIX = 27
Scrgb -> VIPS_INTERPRETATION_scRGB = 28
Hsv -> VIPS_INTERPRETATION_HSV = 29
Last -> VIPS_INTERPRETATION_LAST = 30
flags: ForeignFlagsflags: ForeignFlags -> Flags for this file
None -> VIPS_FOREIGN_NONE = 0 [DEFAULT]
Partial -> VIPS_FOREIGN_PARTIAL = 1
Bigendian -> VIPS_FOREIGN_BIGENDIAN = 2
Sequential -> VIPS_FOREIGN_SEQUENTIAL = 4
All -> VIPS_FOREIGN_ALL = 7
memory: boolmemory: bool -> Force open via memory
default: false
access: Accessaccess: Access -> Required access pattern for this file
Random -> VIPS_ACCESS_RANDOM = 0 [DEFAULT]
Sequential -> VIPS_ACCESS_SEQUENTIAL = 1
SequentialUnbuffered -> VIPS_ACCESS_SEQUENTIAL_UNBUFFERED = 2
Last -> VIPS_ACCESS_LAST = 3
fail_on: FailOnfail_on: FailOn -> Error level to fail on
None -> VIPS_FAIL_ON_NONE = 0 [DEFAULT]
Truncated -> VIPS_FAIL_ON_TRUNCATED = 1
Error -> VIPS_FAIL_ON_ERROR = 2
Warning -> VIPS_FAIL_ON_WARNING = 3
Last -> VIPS_FAIL_ON_LAST = 4
revalidate: boolrevalidate: bool -> Don’t use a cached result for this operation
default: false
Trait Implementations§
Source§impl Clone for RawloadOptions
impl Clone for RawloadOptions
Source§fn clone(&self) -> RawloadOptions
fn clone(&self) -> RawloadOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more