|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-dev] Re: GdkColor to DFBColor conversion
Hi, Manoj Kumar Bhatta <mkbhatta@yahoo.com> writes: > when i am running any application of gtk+ with > directfb as backend , i am setting GdkColor whose > all structure members are 16 bit integer. But at > DirectFB DFBColor structure members are all 8 bit > integer . > > I want to know how conversions happpens if it is 8 bit > right shift of GdkColor structure members then , > GdkColor values(re,gren,blue) may get lost and it may > be some other color at DirectFB level . Some precision is lost, that is correct, but since DirectFB and your graphics cards can only display 8bit per channel, the color is essentially the same. Sven -- Info: To unsubscribe send a mail to ecartis@directfb.org with "unsubscribe directfb-dev" as subject.
|
|
| directfb.org |
|
Development |
|
Old Archives |