[Gimp-developer] calling a procedure in a plugin
Sven Neumann
sven at gimp.org
Wed Oct 17 11:32:24 PDT 2007
Hi,
On Tue, 2007-10-16 at 13:04 +0200, Giuseppe Pasquino wrote:
> after few operations, it picks a color from the image (with che
> function gimp_pixel_rgn_get_pixel) to get the guchar value of the
> components of the related color.
> At this point, I need to call the "gimp_by_color_select" procedure
Just use the C wrapper. Have a look at the API reference manual, it's
all nicely documented:
http://developer.gimp.org/api/2.0/libgimp/libgimp-gimptools.html#id2678685
> How do I manage the guchar values to convert in GimpRGB?
http://developer.gimp.org/api/2.0/libgimpcolor/libgimpcolor-GimpRGB.html#gimp-rgb-set-uchar
Sven
More information about the Gimp-developer
mailing list