Re: [Gimp-user] pdb.gimp_by_color_select malfunction .. workaround

2007-08-30 Thread saulgoode
Quoting Stephen Moss <[EMAIL PROTECTED]>: > Thanks David, > > I have to eat crow on this one... I plead fatigue ;-) > > Choosing the correct option does help a whole bunch: > CHANNEL-OP-REPLACE (2) <---correct answer > ... > CHANNEL-OP-ADD (0) doesn't work very well if everything has been > select

Re: [Gimp-user] pdb.gimp_by_color_select malfunction .. workaround

2007-08-30 Thread Stephen Moss
Thanks David, I have to eat crow on this one... I plead fatigue ;-) Choosing the correct option does help a whole bunch: CHANNEL-OP-REPLACE (2) <---correct answer ... CHANNEL-OP-ADD (0) doesn't work very well if everything has been selected already! The problem file(s), xcf, must have been save

Re: [Gimp-user] pdb.gimp_by_color_select malfunction .. workaround

2007-08-29 Thread David Gowers
On 8/30/07, Stephen Moss <[EMAIL PROTECTED]> wrote: > Fellow python users, > > After some more work on the problem > > I discovered that: > > - small files opened in the GUI are "select" -> "none" but > > - larger files are opened "select" -> "all" I find this extremely difficult to beli

[Gimp-user] pdb.gimp_by_color_select malfunction .. workaround

2007-08-29 Thread Stephen Moss
Fellow python users, After some more work on the problem I discovered that: - small files opened in the GUI are "select" -> "none" but - larger files are opened "select" -> "all" Workaround: Put a "pdb.gimp_selection_none(image)" before the "pdb.gimp_by_color_select_full(drawable,..

[Gimp-user] pdb.gimp_by_color_select malfunction

2007-08-29 Thread Stephen Moss
pdb.gimp_by_color_select malfunction. linux debian etch amd64 gimp 2.3.13 (no other updated libs required) I have a python routine that uses: pdb.gimp_by_color_select Everything works fine for smaller files but the subroutine does not work correctly (does a select all, instead of the reque