Crate pic_scale

Source

Modules§

Structs§

  • Struct that represents image size
  • Holds an image
  • Converts image to Jzazbz components scales it and convert back
  • Converts image to CIE LCH(uv) components scales it and convert back
  • Converts image to CIE LAB components scales it and convert back
  • Linearize image into u8, scale and then convert it back. It’s much faster than scale in f32, however involves some precision loss
  • Converts image to linear f32 components scales it and convert back. This is more precise and slower than scaling in linear u8 If you want just scale faster use LinearApproxScaler
  • Converts image to CIE LUV components scales it and convert back
  • Converts image to Oklab components scales it and convert back
  • Represents base scaling structure
  • Converts image to sigmoidized components scales it and convert back
  • Converts image to CIE XYZ components scales it and convert back

Enums§

Traits§

Functions§