Welcome! Log In Create A New Profile

Advanced
Re: Really Big Colour Code: 117313504
avatarJanuary 11, 2013 04:06PM
This has historically proven contentious, but in my opinion (and as the spec is currently worded), you don't need to worry about either dithered colors or any direct colors other than ones beginning with 0x2. Color dithering was an extremely messy solution to a technical limitation which no longer exists. Nowadays, the dithered color range conflicts with LDConfig !COLOUR definitions, so if you support dithers, make sure to check for an LDConfig code first, as they have precedence.

Also, direct colors based on dither algorithms were never standard. They passed about by obscure tribal knowledge. I seem to have even missed 0x6 and 0x7, as my code doesn't even mention them.

If you really must support dithers, my C code to calculate RGB for dithered colorcodes is here, on Line 273. You even get bonus color commentary with the code.

Allen
SubjectAuthorViewsPosted
Really Big Colour Code: 117313504 Eric Himbeault704January 11, 2013 08:32AM
Re: Really Big Colour Code: 117313504 Travis Cobbs266January 11, 2013 09:14AM
Re: Really Big Colour Code: 117313504 Travis Cobbs242January 11, 2013 09:17AM
Re: Really Big Colour Code: 117313504 Eric Himbeault253January 11, 2013 01:49PM
Re: Really Big Colour Code: 117313504 Travis Cobbs232January 11, 2013 02:38PM
Re: Really Big Colour Code: 117313504 Allen Smith275January 11, 2013 04:06PM
Re: Really Big Colour Code: 117313504 Travis Cobbs283January 11, 2013 04:49PM
Re: Really Big Colour Code: 117313504 Alex Taylor249January 12, 2013 05:38AM
Re: Really Big Colour Code: 117313504 Michael Heidemann266January 12, 2013 04:05PM
Re: Really Big Colour Code: 117313504 Alex Taylor263January 13, 2013 04:05AM
Re: Really Big Colour Code: 117313504 Michael Heidemann246January 13, 2013 10:35AM
Re: Really Big Colour Code: 117313504 Eric Himbeault235January 14, 2013 08:21AM
Re: Really Big Colour Code: 117313504 Roland Melkert335February 11, 2013 11:13AM
Re: Really Big Colour Code: 117313504 Michael Heidemann277February 11, 2013 02:00PM
Re: Really Big Colour Code: 117313504 Travis Cobbs290February 11, 2013 02:01PM
Re: Really Big Colour Code: 117313504 Allen Smith258February 11, 2013 02:29PM
Re: Really Big Colour Code: 117313504 Travis Cobbs263February 11, 2013 03:27PM
Re: Really Big Colour Code: 117313504 Travis Cobbs267February 11, 2013 03:30PM
Re: Really Big Colour Code: 117313504 Allen Smith266February 11, 2013 04:36PM
Re: Really Big Colour Code: 117313504 Martin James288February 12, 2013 12:51AM
Re: Really Big Colour Code: 117313504 Roland Melkert502February 12, 2013 11:43AM



Sorry, only registered users may post in this forum.

Click here to login