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. Sven _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer