Crate pic_scale

Source

Structs§

ImageSize
Struct that represents image size
ImageStore
Holds an image
ImageStoreMut
Holds an image
JzazbzScaler
Converts image to Jzazbz components scales it and convert back
LChScaler
Converts image to CIE LCH(uv) components scales it and convert back
LabScaler
Converts image to CIE LAB components scales it and convert back
LinearApproxScaler
Linearize image into u16, scale and then convert it back. It’s much faster than scale in f32, however involves small precision loss
LinearScaler
Converts image to linear f32 components scales it and convert back.
LuvScaler
Converts image to CIE LUV components scales it and convert back
OklabScaler
Converts image to Oklab components scales it and convert back
PicScaleBufferMismatch
Buffer mismatch error description
Scaler
Represents base scaling structure
ScalingOptions
Declares default scaling options
SigmoidalScaler
Converts image to sigmoidized components scales it and convert back
XYZScaler
Converts image to CIE XYZ components scales it and convert back

Enums§

Ar30ByteOrder
Defines storage byte order for RGBA1010102 or RGBA2101010
BufferStore
Structure for mutable target buffer
PicScaleError
Error enumeration type
ResamplingFunction
Describes resampling function that will be used
ThreadingPolicy
Declares thread policy usage
TransferFunction
Declares transfer function for transfer components into a linear colorspace and its inverse
WorkloadStrategy
Defines execution hint about preferred strategy

Traits§

ImageStoreScaling
Generic trait for ImageStore to implement abstract scaling.
Scaling
8 bit-depth images scaling trait
ScalingF32
f32 images scaling trait
ScalingU16
8+ bit-depth images scaling trait

Type Aliases§

CbCr8ImageStore
CbCr8ImageStoreMut
CbCr16ImageStore
CbCr16ImageStoreMut
CbCrF16ImageStorenightly_f16
CbCrF16ImageStoreMutnightly_f16
CbCrF32ImageStore
CbCrF32ImageStoreMut
GrayAlpha8ImageStore
GrayAlpha8ImageStoreMut
GrayAlpha16ImageStore
GrayAlpha16ImageStoreMut
GrayAlphaF32ImageStore
GrayAlphaF32ImageStoreMut
Planar8ImageStore
Planar8ImageStoreMut
Planar16ImageStore
Planar16ImageStoreMut
PlanarF16ImageStorenightly_f16
PlanarF16ImageStoreMutnightly_f16
PlanarF32ImageStore
PlanarF32ImageStoreMut
Rgb8ImageStore
Rgb8ImageStoreMut
Rgb16ImageStore
Rgb16ImageStoreMut
RgbF16ImageStorenightly_f16
RgbF16ImageStoreMutnightly_f16
RgbF32ImageStore
RgbF32ImageStoreMut
Rgba8ImageStore
Rgba8ImageStoreMut
Rgba16ImageStore
Rgba16ImageStoreMut
RgbaF16ImageStorenightly_f16
RgbaF16ImageStoreMutnightly_f16
RgbaF32ImageStore
RgbaF32ImageStoreMut