Re: [gtk-list] Converting a pixel value to component RGB values



On Fri, Aug 20, 1999 at 10:56:10PM -0700, Arthur Jerijian wrote:

> shifting bits? How would I do it if the GdkImage is a PseudoColor image?

Er, nevermind, I think that XGetPixel does the palette lookup for you, 
so you don't have to case it out. Sorry ;).

m.

-- 
"How wonderful! How mysterious                                   Programmer
 I carry wood! I draw water!"                   Loki Entertainment Software
 - Anonymous Tao poet



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