Re: Interesting bug concerning colors
- From: "Adam D. Moss" <adam uunet pipex com>
- To: gtk-list redhat com
- Subject: Re: Interesting bug concerning colors
- Date: Mon, 12 Jan 1998 11:19:39 GMT
> 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
> high.
> Start gimp with it's vanilla gtkrc. Take xv and grab a scnapshot of
> gimp's toolbar window.
> Then inspect the snapshot's grey background by right-clicking on it
> - xv says its is r = 208, g = 212, b = 208 (should be 208 for all
> three).
> So gimp's main window is a little bit green :)
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 ;)).
Of course, this may not be the problem. But I suspect that it is. :)
There's nothing better than GTK can do here.
--Adam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]