[Gtk-sharp-list] Pixbuf to 8bit pixmap ?

Leonardo Marco leomarcov at ono.com
Fri Oct 27 14:09:16 EDT 2006


Hello, i have a problem with my aplication. I have a image, and need the 
real values of the pixels in 8bit format (0 for black, 255 for white, 
etc). I have sacaled the image using Pixbuf, and now i need 8bits values 
for each pixel. I have tryed to create new 8bits pixmap and copy the 
pixbus in pixmap using pixmap.drawpixbuf, but the values of each pixel 
are incorrects.

Any suggestions?

Thanks a lot, Leonardo.







More information about the Gtk-sharp-list mailing list