gtaylor / python-colormath

A python module that abstracts common color math operations. For example, converting from CIE L*a*b to XYZ, or from RGB to CMYK
python-colormath.readthedocs.org
BSD 3-Clause "New" or "Revised" License
455 stars 81 forks source link

Support for matrix operations #115

Open RSKothari opened 1 year ago

RSKothari commented 1 year ago

Hello,

Is there a plan to extend this awesome work to support matrix operations? For example, converting XYZ matrices to sRGB matrices.

KelSolaar commented 1 year ago

The API does ship with already a few pre-computed, e.g. https://github.com/gtaylor/python-colormath/blob/master/colormath/color_objects.py#L715. Is there a use case where you would need to do the computations yourself?