getting color from gdk::pixbuf



Hi!

I have a Gdk::Pixbuf (got it from a .png file) in a Gtk2::Image.

I want to get colors of specific pixels of this image, and give it to a
Gtk2::Gdk::Color so that I can draw with that color to a
Gtk2::Gdk::Pixmap.

How can I do this?

Thanks for your help in advance!

-- 
doome



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