Giter Club home page Giter Club logo

colorpy's People

Contributors

markkness avatar thehubbard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

colorpy's Issues

Add support for conversion between RGB color spaces

It would be useful to be able to convert between two different RGB color spaces, but it looks like this isn't currently possible since the colormodels.init() function uses globals so only one space is defined at any time. In particular, I would like to convert between sRGB (the default) and a custom RGB space for a specific RGB LED.

Allow numpy args for conversion functions

Some functions already work with numpy args (e.g., xyz_from_rgb) but others use functions or constructs that are not numpy aware (e.g., rgb_from_irgb uses float() and lab_from_xyz uses scalar '>'). This issue is a feature request to make all functions numpy compatible so that arrays can be converted with a single call instead of requiring (much slower) loops.

Not Python3 compatible.

ColorPy at present is only Python2.x, it would be better if Python3 was also supported.

Some culprits are old-style print statements, and some exception raising syntax.

Invalid syntax when importing colorpy.colormodels

Hi,
When I import colorpy.colormodels on my python 3.9.7 kernel, I get the following error:

ModuleNotFoundError Traceback (most recent call last)
/script/run.ipynb Cell 3 in <cell line: 1>()
----> 1 import colorpy.colormodels
ModuleNotFoundError: No module named 'colorpy'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.