Giter Site home page Giter Site logo

Comments (2)

priestc avatar priestc commented on August 17, 2024

Here is a solution, I can't figure out how to do a pull request across forked repos:

priestc@afb7e96

from colour.

vaab avatar vaab commented on August 17, 2024

Hi, thank you for your report.

It's quite strange this doesn't work. I've tested it extensively under Linux and I know several users of this library that didn't have any issue (and they would have complained since not finding this file will cast exception at import time).

I guess that I didn't test on Mac OSX. And I should have.

Anyway, at first I wanted to keep this file out because it's a file that exists in any X installation in this precise form (and with the same name). But as time passes, I see that keeping this file along the package have been really tedious, and that its not completely supported on all plateforms (this is a nasty flaw of python packaging system I guess). Apart of being tedious to keep, it wasn't so usefull to have this in a separate file.

So I'm willing to integrate your proposition, this would greatly simplify all these. But I have a small request:

The original matching between colornames and their actual hex representation in rgb.txt is very close to W3C color naming recommandation but it doe not follow it exactly on some subtle points. I would rather see "colour" python module stick to the W3C color naming recommandation in case of divergence. So could you check and replace the divergent values by the W3C one ? It seems a relatively small job if you use the 'color name chart' in http://en.wikipedia.org/wiki/X11_color_names, which would help sport these divergence quite conveniently.

Thank you again for the improvement you suggest.

from colour.

Related Issues (20)

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.