Skip to content

Beinsezii/colcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColCon 0.8.1

Simple colorspace conversions in Rust.

Features

  • Pure Rust, no dependencies.
  • Most functions compile to a C lib
  • sRGB, RGB, CIE XYZ, CIE LAB, Oklab, JzAzBz, HSV
    • LCH/Cylindrical versions of all LAB spaces
  • Accurate across a wide variety of tests, referencing colour-science

Future

  • Look into SIMD when supported by standard library
  • More spaces?
  • Generic dtypes?

Known Issues

  • convert_space_sliced is slower than it could be. Waiting for slice_as_chunks to land in stable.
  • Performing many (>100) conversions in sequence will gradually degrade the data due to tiny precision issues accumulating.

F.A.Q.

Question Answer
Why? I just wanna say "go from this to this" without any fuss.