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

2008-07-24 Thread Sven Neumann
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


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

2008-07-23 Thread Eckhard M.

Hello,

i'm thinking about a better slicing plugin based on a addition layer
with color informations.
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.

Is it possible? The function active_layer.mask_bounds gives only the
overall bounds back :(

Thanks.


___/\___

Ich darf nicht angeben.

|\/\/\/| 
|  |Bart.
| (O)(O)[EMAIL PROTECTED]
C  _) 
|   ,_/ Linux for Designers - http://my.opera.com/area42/blog/
|   /   SweeTS delicious Typo3 development - http://typo3.area42.de/
/   \ 

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