[Gimp-developer] Getting selection mask
Hello, Can someone explain basic steps to get bitmap of the selection mask of gimp inside a plugin ? I try to play with gimp_image_get_selection(), passing the current image ID, but it always returns -1. Any example available somewhere ? -- Thierry Pierron ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Getting selection mask
On Sat, Oct 02, 2004 at 07:20:03PM -0400, Thierry Pierron wrote: Hello, Can someone explain basic steps to get bitmap of the selection mask of gimp inside a plugin ? I try to play with gimp_image_get_selection(), passing the current image ID, but it always returns -1. Any example available somewhere ? Have a look at libgimp/gimpdrawablepreview.c, in current CVS, in the function gimp_drawable_preview_draw_area (). This function use the selection and put it into an array of guchar. Examine how the sel variable is filled. Regards, DindinX -- [EMAIL PROTECTED] Everyone has a scheme for getting rich that will not work ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
[Gimp-developer] Bounty for PyGimp
Howdy, As someone who would dearly love to see PyGimp a reality, I was interested to see at: http://www.ubuntulinux.org/community/bounties (Ubuntu Linux is a Linux distribution funded by Mark Shuttleworth) Python scripting everywhere Python is a great glue language. Ubuntu is open to requests for funding work that needs to be done to make Python the most widespread common scripting language on the net. Please contact us with your ideas and proposals. Bounties will be offered on Python scripting interfaces for the following tools: * OpenOffice * Blender * AbiWord * Gnumeric * The GIMP ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer