Re: How to get a Selection from a region of pixels ?

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

 



On Wed, 2010-02-24 at 00:50 +0530, sanju maliakal wrote:
> I am writing a GIMP plugin in C . I want to represent
> a contiguous region of pixels with some similarity as a selection by
> passing either all pixels in that region or the boundary pixels of
> this region. i did a considerable amount of searching but couldn't
> really find a way through the GIMP API or any other means . 
> Through the GIMP's standard GUI there are options like 
> 1. Fuzzy Select Tool and
> 2. Select by Color Tool
> which give the Selection on the Image.
> But I want to know how to get such a selection based on some
> parameters(not color) through a GIMP plugin in C.

The selection is a gray-scale mask. Your plug-in can access it and
manipulate it just like any other drawable in the image.


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