Struct lcms2::Stage []

pub struct Stage(_);

This is an owned version of Stage.

Methods

impl Stage
[src]

[src]

Creates an empty (identity) stage that does no operation.

May be needed in order to save the pipeline as AToB/BToA tags in ICC profiles.

[src]

Creates a stage that contains nChannels tone curves, one per channel.

[src]

Creates a stage that contains a matrix plus an optional offset.

Note that Matrix is specified in double precision, whilst CLUT has only float precision. That is because an ICC profile can encode matrices with far more precision that CLUTS.

[src]

Creates a stage that contains a float or 16 bits multidimensional lookup table (CLUT).

Each dimension has same resolution. The CLUT can be initialized by specifying values in Table parameter. The recommended way is to set Table to None and use sample_clut with a callback, because this way the implementation is independent of the selected number of grid points.

Methods from Deref<Target = StageRef>

[src]

[src]

[src]

Trait Implementations

impl ForeignType for Stage

The raw C type.

The type representing a reference to this type.

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

impl Drop for Stage

Executes the destructor for this type. Read more

impl Deref for Stage

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for Stage

Mutably dereferences the value.

impl Borrow<StageRef> for Stage

Immutably borrows from an owned value. Read more

impl AsRef<StageRef> for Stage

Performs the conversion.