Post Reply 
Color Values in Python?
04-22-2021, 01:26 PM (This post was last modified: 04-22-2021 01:43 PM by toml_12953.)
Post: #8
RE: Color Values in Python?
(04-22-2021 08:41 AM)cyrille de brébisson Wrote:  Hello,

I found a big bug: eval("rgb(....)");
will NOT work well (at all)...
Basically rgb returns an integer (64 bit), not a real.
The conversion from int to python integer was messed up..
Python exects (for some reason) the data to be in little endian mode, not big endian...

Will be fixed in next version.
Cyrille

Thanks for the quick response! I think I'll just write a Python rgb() function and use that, however.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Color Values in Python? - toml_12953 - 04-21-2021, 12:23 AM
RE: Color Values in Python? - critor - 04-21-2021, 07:01 AM
RE: Color Values in Python? - toml_12953 - 04-21-2021, 07:49 AM
RE: Color Values in Python? - critor - 04-21-2021, 09:03 AM
RE: Color Values in Python? - toml_12953 - 04-21-2021, 02:23 PM
RE: Color Values in Python? - toml_12953 - 04-22-2021 01:26 PM



User(s) browsing this thread: 1 Guest(s)