Hi,

On Thu, 2007-10-18 at 15:05 +0200, Giuseppe Pasquino wrote:
> Because I have problem converting the guchar vector for the color in
> "GimpRGB" and I don't know how manage with GimpChannelOps...

I think I already pointed you to the API reference for GimpRGB and
gimp_rgb_set_uchar() in particular. GimpChannelOps is an enum and the
possible values are listed in the API reference. Just follow the link.

You can also save yourself the hassle of working with pixel regions if
all you want to do is to get the color of a single pixel. There's 
gimp_drawable_get_pixel() for that purpose.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to