Re: [Gimp-developer] will the rulers tell me the truth?

2007-10-18 Thread Martin Nordholts
Hello That doesn't sound insane, I suggest you forward this to the GIMP UI folks for consideration, you will find links at: http://gui.gimp.org/index.php/GIMP_UI_Redesign - Martin Nordholts The Peach wrote: I was thinking of a feature proposal. Once you have placed a guide on the canvas,

Re: [Gimp-developer] calling a procedure in a plugin

2007-10-18 Thread Giuseppe Pasquino
Thanks to all for the useful help... I'll write this function but it return a fatal error (SEGMENTATION FAULT) and it don't make the selection... Here is the code: static void evidenzia (GimpDrawable *drawable, GimpPreview *preview){ gint width, height; //dell'immagine su cui va

Re: [Gimp-developer] calling a procedure in a plugin

2007-10-18 Thread Aurimas Juška
gimp_run_procedure() is not properly terminated with GIMP_PDB_END (see documentation). Again, as Sven said, use c wrappers if they are available for procedure that you need. On 10/18/07, Giuseppe Pasquino [EMAIL PROTECTED] wrote: Thanks to all for the useful help... I'll write this function but

Re: [Gimp-developer] calling a procedure in a plugin

2007-10-18 Thread Giuseppe Pasquino
Ok, I'll modify the plugin in this way: static void evidenzia (GimpDrawable *drawable, GimpPreview *preview) { gint width, height; //dell'immagine su cui va applicato il plugin gint altezza, larghezza; //numero di pixel formanti la palette gint x1,

Re: [Gimp-developer] calling a procedure in a plugin

2007-10-18 Thread Sven Neumann
Hi, why don't you just do what we suggested? If you would use gimp_by_color_select() instead of gimp_run_procedure(), the compiler would be able to tell you that your code is buggy. Sven ___ Gimp-developer mailing list

Re: [Gimp-developer] calling a procedure in a plugin

2007-10-18 Thread Giuseppe Pasquino
Because I have problem converting the guchar vector for the color in GimpRGB and I don't know how manage with GimpChannelOps... Can you write me down an example? Subject: RE: RE: [Gimp-developer] calling a procedure in a plugin From: [EMAIL PROTECTED]

Re: [Gimp-developer] calling a procedure in a plugin

2007-10-18 Thread Sven Neumann
Hi, On Thu, 2007-10-18 at 15:05 +0200, Giuseppe Pasquino wrote: Because I have problem converting the guchar vector for the color in GimpRGB and I don't know how manage with GimpChannelOps... I think I already pointed you to the API reference for GimpRGB and gimp_rgb_set_uchar() in particular.

[Gimp-developer] screenshot with mousepointer

2007-10-18 Thread The Peach
is it possible that the only tool that will make screenshots including the mouse pointer is kscreenshot, while the GIMP can't??? -- Matteo 'Peach' Pescarin Jabber ID = [EMAIL PROTECTED] Web Site = http://www.smartart.it GeCHI = http://www.gechi.it

Re: [Gimp-developer] screenshot with mousepointer

2007-10-18 Thread Sven Neumann
Hi, On Thu, 2007-10-18 at 15:59 +0200, The Peach wrote: is it possible that the only tool that will make screenshots including the mouse pointer is kscreenshot, while the GIMP can't??? If you say so... Feel free to contribute a patch. Sven ___

Re: [Gimp-developer] screenshot with mousepointer

2007-10-18 Thread The Peach
On Thu, 18 Oct 2007 17:49:22 +0200 Sven wrote: If it was that simple, we would have added support for it already. As far as I know there is no portable way to access the cursor graphics. Perhaps you should have a look at kscreenshot and check what they are doing. gnome-screenshot does not

Re: [Gimp-developer] screenshot with mousepointer

2007-10-18 Thread Sven Neumann
Hi, On Thu, 2007-10-18 at 18:10 +0200, The Peach wrote: anyway what I was saying is that as long as I've looked, the only way IMHO is to grab the cursor pixmap with gdk_cursor_get_image, get the cursor's coordinates (don't know how to do that) and then paste (neither don't know what will be

Re: [Gimp-developer] screenshot with mousepointer

2007-10-18 Thread The Peach
On Thu, 18 Oct 2007 18:15:38 +0200 Sven wrote: Hi, On Thu, 2007-10-18 at 18:06 +0200, The Peach wrote: anyway what I was saying is that as long as I've looked, the only way IMHO is to grab the cursor pixmap with gdk_cursor_get_image, get the cursor's coordinates (don't know how to do

Re: [Gimp-developer] screenshot with mousepointer

2007-10-18 Thread Sven Neumann
Hi, On Thu, 2007-10-18 at 18:26 +0200, The Peach wrote: so the only way I can get the right cursor image is using the screenshot for the whole desktop, where the GIMP mouse cursor will not be overridden by the screenshot selector cursor. isn't it? No, that is not going to work. The screenshot

Re: [Gimp-developer] screenshot with mousepointer

2007-10-18 Thread The Peach
On Thu, 18 Oct 2007 18:38:46 +0200 Sven wrote: At least not as far as I know. If you can show that it can be done, fine. Otherwise it is futile to discuss this further. thanks alot anyway, I'd see if there's anything around... -- Matteo 'Peach' Pescarin Jabber ID = [EMAIL PROTECTED] Web

Re: [Gimp-developer] Nice new feature for gimp

2007-10-18 Thread [EMAIL PROTECTED]
i can't build, smh.h missing :( Liquid rescale sounds nice but is only for rescaling. This feature would also be nice just having in windows resizing in order to keep the important objets safe while working. pygmee ___ Gimp-developer mailing list

Re: [Gimp-developer] Nice new feature for gimp

2007-10-18 Thread Konstantin Svist
Alexandre Prokoudine wrote: On 10/19/07, radar.map35 wrote: Liquid rescale sounds nice but is only for rescaling. This feature would also be nice just having in windows resizing in order to keep the important objets safe while working. Liquid Rescale plug-in allows both preserving