Re: Acquring RGB values from GdkPixbuf

Oh hey, I just thought of something. Are you treating your red, green,
and blue values as if they were on a scale of 0 to 255? This is what I
expected too, but it turns out I think they are on a scale of 0 to
65535. So you need to divide them by 256 in order to get values you
are used to. Not sure if this helps....


On 6/15/05, Michal Porzuczek <mporzuczek gmail com> wrote:
On 6/15/05, Christopher Anderson <sidewinder asu gmail com> wrote:
I'm wondering what would happen if you converted the image to
grayscale and then displayed it.....


how would I convert it?


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