Re: calling a procedure in a plugin

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

 



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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux