[Gimp-developer] Getting all single bounds of multiple selections

Sven Neumann sven at gimp.org
Thu Jul 24 12:21:02 PDT 2008


Hi,

On Wed, 2008-07-23 at 10:15 +0200, Eckhard M. Jäger wrote:

> I'd like to create the plugin with Python, but i'm not sure if it is
> possible getting all single bounds 
> when you have multiple selection.

There is only one selection per image. Please realize that the selection
is a grayscale mask. So what you call "multiple selections" are several
disconnected areas on the selection mask.

Note that you can access the selection mask as a drawable. That should
give you all the information you need.


Sven




More information about the Gimp-developer mailing list