Struct libvips::ops::IccTransformOptions[][src]

pub struct IccTransformOptions {
    pub pcs: PCS,
    pub intent: Intent,
    pub embedded: bool,
    pub input_profile: String,
    pub depth: i32,
}
Expand description

Options for icc_transform operation

Fields

pcs: PCS

pcs: PCS -> Set Profile Connection Space Lab -> VIPS_PCS_LAB = 0 [DEFAULT] Xyz -> VIPS_PCS_XYZ = 1 Last -> VIPS_PCS_LAST = 2

intent: Intent

intent: Intent -> Rendering intent Perceptual -> VIPS_INTENT_PERCEPTUAL = 0 Relative -> VIPS_INTENT_RELATIVE = 1 [DEFAULT] Saturation -> VIPS_INTENT_SATURATION = 2 Absolute -> VIPS_INTENT_ABSOLUTE = 3 Last -> VIPS_INTENT_LAST = 4

embedded: bool

embedded: bool -> Use embedded input profile, if available default: false

input_profile: String

input_profile: String -> Filename to load input profile from

depth: i32

depth: i32 -> Output device space depth in bits min: 8, max: 16, default: 8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.