Re: calling a procedure in a plugin

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

 



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


_______________________________________________
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