Re: [gtk-list] Re: Interesting bug concerning colors



Adam D. Moss wrote:

> > I have found an interesting bug: The code for calculating the rgb values
> > seems to have a problem with green, as the green value is sometimes too



> Let me take a wild guess - you're running in 16bpp?
>
> There are very few pure-greys in 16bpp mode because the green channel
> has an extra bit, and the normalised 0->255 mappings for the colour
> channels don't sync very often (do the math if you are dubious ;)).

you were right, thank you




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]