On 9/17/06, Sven Neumann <sven@xxxxxxxx> wrote:
I tested it for RGB images and it appears to work correctly.
Perhaps it just uses the 1st channel (R) though.
Hi,
On Fri, 2006-09-15 at 09:39 +0930, David Gowers wrote:
> It's much easier to code 'image to selection':
>
> c = pdb.gimp_channel_new_from_component(image, GRAY_CHANNEL,
> 'TEMP IMAGE2SELECTION')
This works for grayscale images only. An RGB image doesn't have a
grayscale component. For grayscale images there is also no point in
writing such a script because you can already choose "Channel to
Selection" from the channel's right-click menu.
I tested it for RGB images and it appears to work correctly.
_______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer