Hi folks,
I'm having some trouble setting correct HUE values for an RGB24 image.
Here's the scoop:
1. avicap renders a very nice image to the screen.
2. I run avicap, then print out the hue, color, and other values.
3. I set my app, to use those same settings.
4. But I get a very different (incorrect hue) image.
Here's what I'm using to render the image:
gdk_draw_rgb_image (widget->window, widget->style->fg_gc[GTK_STATE_NORMAL],
0, 0, COLS, ROWS,GDK_RGB_DITHER_NONE, buf, COLS*3);
Pretty straightforward, no?
5. I'm also now writing an image to a ppm file.
6. When I open that image with xpaint, I get an even slightly different
hue image.
What's the deal?
Thanks,
Dave Topper
--
Technical Director - Virginia Center for Computer Music
http://www.virginia.edu/music/vccm.html