[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gimp-developer
Subject:    Re: [Gimp-developer] Getting all single bounds of
From:       Sven Neumann <sven () gimp ! org>
Date:       2008-07-24 19:21:02
Message-ID: 1216927262.8853.58.camel () bender
[Download RAW message or body]

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


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic