devinmcgloin / clr Goto Github PK
View Code? Open in Web Editor NEWclr is a go library to manage different color spaces, convert between them and compare colors.
Home Page: https://devinmcgloin.com/clr/
License: MIT License
clr is a go library to manage different color spaces, convert between them and compare colors.
Home Page: https://devinmcgloin.com/clr/
License: MIT License
Due to how I've been bootstrapping off of RGB converting between two colorspaces with RGB in-between results in a lossy conversion. Choosing another colorspaces as intermediary would solve this, but I'm not sure how large of an issue it is.
Conversions to RGB are untested and cannot be trusted. Need to implement a simple test suite.
Using standard CIELAB isn’t the best way to compare. It would be good to implement CIEDE2000 as it is less biased compared to standard CIELAB.
Convenience methods to lighten, darken, saturate, de saturate etc.
It'd be great to be able to interpolate between colors. It'd have to be either interpolation that accounts for the color space or done in CIELAB in order to maintain the distances between colors to our own eyes.
Doing this in CIELAB is simpler / more generally useful, but requires a way back to the old representations.
If an image has exif orientation tags and is rotated image dimensions should be rotated as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.