Re: [Gimp-developer] Access Image in Plugin?

2009-07-03 Thread Sven Neumann
Hi, On Thu, 2009-07-02 at 17:44 -0400, Rob Antonishen wrote: > All the examples show accessing the drawable object using > gimp_drawable_get (param[2].data.d_drawable) > > I know I can access the image ID using param[1].data.d_image, but the > only call seems to be gimp_image_get_by_ID which req

[Gimp-developer] Access Image in Plugin?

2009-07-02 Thread Rob Antonishen
Hi- I'm trying to get (in order to modify) the active selection (channel) in a C plugin I am writing. I assume I can simply use gimp_image_get_mask (image) but I can't see how to get the image object! All the examples show accessing the drawable object using gimp_drawable_get (param[2].data.d_dr