Search found 3 matches
- 2014-08-11T20:45:40-07:00
- Forum: Developers
- Topic: Mixed percentage & numeric color coordinates
- Replies: 9
- Views: 14984
Re: Mixed percentage & numeric color coordinates
As far as I know, this is currently the way IM works. You have a choice of either 0-360 for hue and 0-255 for sat and lightness/brightness/intensity. Or all 3 are in the range of 0 to 100%. Think of the latter as range 0 to 1 for all 3 but multiplied by 100. Yeah I can confirm this from my tests ...
- 2014-08-11T17:42:52-07:00
- Forum: Developers
- Topic: Mixed percentage & numeric color coordinates
- Replies: 9
- Views: 14984
Re: Mixed percentage & numeric color coordinates
FYI: I am willing to slowly plunk together a patch, but I have zero production C experience, and the ParseGeometry method seems to be pretty important (and full of historical design choices), so I wanted to just ask about the issue first, and see if it was on any roadmap. Cheers!
- 2014-08-11T17:37:24-07:00
- Forum: Developers
- Topic: Mixed percentage & numeric color coordinates
- Replies: 9
- Views: 14984
Mixed percentage & numeric color coordinates
Perhaps this is a WONTFIX, but I couldn't easily find mention of it in the forums. Could the IM color commands take inputs that are mixed among percentage and non-percentage values? I ask because of two issues: Including a percentage sign anywhere in the color forces the parser to assume all values ...