Struct libvips::ops::JpegloadBufferOptions [−][src]
pub struct JpegloadBufferOptions {
pub shrink: i32,
pub autorotate: bool,
pub flags: ForeignFlags,
pub memory: bool,
pub access: Access,
pub fail: bool,
}
Expand description
Options for jpegload_buffer operation
Fields
shrink: i32
shrink: i32
-> Shrink factor on load
min: 1, max: 16, default: 1
autorotate: bool
autorotate: bool
-> Rotate image using exif orientation
default: false
flags: ForeignFlags
flags: 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: bool
memory: bool
-> Force open via memory
default: false
access: Access
access: 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: bool
fail: bool
-> Fail on first error
default: false
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JpegloadBufferOptions
impl Send for JpegloadBufferOptions
impl Sync for JpegloadBufferOptions
impl Unpin for JpegloadBufferOptions
impl UnwindSafe for JpegloadBufferOptions
Blanket Implementations
Mutably borrows from an owned value. Read more