[Gimp-developer] preview window does not work

2007-03-06 Thread Luis A. Florit
Pals, I made my first plugin in C for gimp, based on the one here: http://developer.gimp.org/writing-a-plug-in/3/index.html Unfortunately, this plugin has several bugs, that translated to my own, and I am not being able to detect them (is there any other source like the avove to get

Re: [Gimp-developer] preview window does not work

2007-03-07 Thread Luis A. Florit
* El 08/03/07 a las 1:57, [EMAIL PROTECTED] chamullaba: In general just try to keep cool. You are perfectly right in complaining about being lead astray by a bad code example and in your place I would be equally pissed off about the time I had wasted. I'm sure dismissive comments don't to

Re: [Gimp-developer] preview window does not work

2007-03-08 Thread Luis A. Florit
My plugin is working fine, after I found my bug and the one in the blur example. It's just annoying. Then please explain the bug in the example code and send us a patch (preferably against SVN) that we can apply so that others won't run into the problem again.

[Gimp-developer] about gimp_zoom_preview_new

2007-03-12 Thread Luis A. Florit
Pals, I realized that gimp 2.3.15 (and some versions before) comes with zoom for previews. A very useful feature for what I want to develop (a noise reduction plugin). I added a line 'gimp_zoom_preview_new (drawable);' that I got from

Re: [Gimp-developer] about gimp zoom preview new

2007-03-12 Thread Luis A. Florit
On Mon, 12 Mar 2007 15:22:49 +0100, Luis A. Florit [EMAIL PROTECTED] wrote: (gimp-2.3:21083): Gimp-Plug-In-WARNING **: gimp-2.3: plug_in_flush(): error: Broken pipe This is nothing to do with the zoom preview mate, you've got a blocked toilet!! I should call out a plumber

Re: [Gimp-developer] about gimp zoom preview new

2007-03-12 Thread Luis A. Florit
Hi, On Mon, 2007-03-12 at 11:22 -0300, Luis A. Florit wrote: I added a line 'gimp_zoom_preview_new (drawable);' that I got from http://developer.gimp.org/api/2.0/libgimp/GimpZoomPreview.html The plugin complies just fine, but when trying to run it in gimp 2.3.15 the plugin crashes

Re: [Gimp-developer] about gimp zoom preview new

2007-03-12 Thread Luis A. Florit
Hi Sven, On Mon, 2007-03-12 at 19:11 -0300, Luis A. Florit wrote: I compiled gimp with './configure --prefix=/opt/gimp' for it not to touch my stable gimp 2.2 RPM install. I am compiling the plug-in with /opt/gimp/bin/gimptool-2.0 --install plugin You will probably have to set

Re: [Gimp-developer] about gimp zoom preview new

2007-03-12 Thread Luis A. Florit
gg, I didn't get your joke at a first sight. English is not my language... BTW, it was funny. :) L. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Re: [Gimp-developer] about gimp zoom preview new

2007-03-12 Thread Luis A. Florit
Hi Ori, * El 12/03/07 a las 19:55, Ori Bernstein chamullaba: On Mon, 12 Mar 2007 19:36:42 -0300, Luis A. Florit [EMAIL PROTECTED] said: I am doing something wrong... I tried with this command: Yes, yes you are. export PKG_CONFIG_PATH=/opt/gimp/lib/pkgconfig ; /opt/gimp/bin/gimp-2.3

[Gimp-developer] how to call a plugin

2007-03-14 Thread Luis A. Florit
Pals, I am feeling so silly in trying to develop a plugin... I am stalling even at the most easy tasks. Now, I just want to blur my drawable from my plugin. I tried this: GimpParam *rreturn_vals; gint nnreturn_vals; rreturn_vals = gimp_run_procedure(plug_in_blur,

Re: [Gimp-developer] how to call a plugin

2007-03-14 Thread Luis A. Florit
Hi Bill, Now, I just want to blur my drawable from my plugin. I tried this: GimpParam *rreturn_vals; gint nnreturn_vals; rreturn_vals = gimp_run_procedure(plug_in_blur, nnreturn_vals, GIMP_PDB_INT32, GIMP_RUN_NONINTERACTIVE,

[Gimp-developer] gimp_pixel_rgns_register

2007-03-16 Thread Luis A. Florit
Pals, As you noticed, this is my first plugin and I have many silly questions... Sorry for bothering you with these. What my plugin does is an iterpolation to get rid of noise by means of a classical local analysis of a square neighborhood or radius r of each pixel to change it (if

Re: [Gimp-developer] gimp_pixel_rgns_register

2007-03-16 Thread Luis A. Florit
Sven and Bill, I see. My plugin is already reasonably fast, so is good to know I don't need huge changes. Thanks a lot for your prompt answer!! Nice forum! Cheers, Luis. ___ Gimp-developer mailing list

[Gimp-developer] despeckle plugin

2007-03-21 Thread Luis A. Florit
Pals, The Despeckle plugin shipped with GIMP 2.3.15 has a strange behavior: it shifts the image 1 pixel to the right, and one down, at least in some channles. Compare with the plungin in gimp 2.2. Probably you already observed this. Thanks, Luis.

[Gimp-developer] still the same bug

2007-04-29 Thread Luis A. Florit
Pals, I reported this bug in this list some time ago, and got no answer (I think), and the 2.3.16 version still has the same bug: The despeckle plugin shifts the image one pixel to the right, and one to the bottom. Consequently, it is essentially useless. If you draw in the middle of a white

Re: [Gimp-developer] still the same bug

2007-04-30 Thread Luis A. Florit
For Bill: I reported this bug in this list some time ago . . . For philosophical questions, it is good to bring them up first on this list. But for actual bugs, in the sense of the program doing something that is clearly incorrect, it is best to file a Bugzilla report. The advantage,

Re: [Gimp-developer] still the same bug

2007-05-01 Thread Luis A. Florit
Glad you all confirmed the bug, and sorry gg if I misunderstood you. However, I am not sure what histogram correction means here. I saw the same shift in the despeckle plugin for photographies, like a human face. Thanks, Luis. ___ Gimp-developer

[Gimp-developer] error on roundcorners

2007-06-03 Thread Luis A. Florit
Hi, I am getting an error on the script round-corners.scm (gimp 2.3.17). A pop-up window opens with the following error: Procedural database execution of gimp-image-undo-group-end failed: and just that... Thanks, L. ___

[Gimp-developer] bash command inside script

2007-06-03 Thread Luis A. Florit
Hi, Is there a way to read the output of a bash command inside a script-fu? I want to make a script-fu that uses the ExifTool program output. Thanks! Luis. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU

Re: [Gimp-developer] bash command inside script

2007-06-04 Thread Luis A. Florit
Sorry for the empty email I've just sent. My mistake. Now, about my question: Is there a way to read the output of a bash command inside a script-fu? I want to make a script-fu that uses the ExifTool program output. This is to answer Kevin: Save the output from the ExifTool to a file

Re: [Gimp-developer] bash command inside script

2007-06-04 Thread Luis A. Florit
* El 04/06/07 a las 16:49, Joao S. O. Bueno Calligaris chamullaba: On Sunday 03 June 2007 22:47, Luis A. Florit wrote: Hi, Is there a way to read the output of a bash command inside a script-fu? I want to make a script-fu that uses the ExifTool program output. Thanks

[Gimp-developer] overwrite problem

2007-06-14 Thread Luis A. Florit
Hi, I am having an 'overwrite file' problem in 2.3.18. When trying to save a file that already exists, ask as usual if you want to overwrite. If you say YES, it does NOT overwrite, and writes a Untilted.xcf file instead. Thanks, Luis.

[Gimp-developer] exif data

2007-06-15 Thread Luis A. Florit
Hi, Where is the option to save the EXIF data in 2.3.18?? Thanks, L. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Re: [Gimp-developer] overwrite problem

2007-06-16 Thread Luis A. Florit
* El 16/06/07 a las 16:09, Sven Neumann chamullaba: Hi, On Fri, 2007-06-15 at 02:41 -0300, Luis A. Florit wrote: I am having an 'overwrite file' problem in 2.3.18. When trying to save a file that already exists, ask as usual if you want to overwrite. If you say YES, it does

Re: [Gimp-developer] 2.3.18 deletes exif data from images

2007-06-20 Thread Luis A. Florit
Hi Mukund, Hi Alexander On Wed, Jun 20, 2007 at 10:06:53AM +0300, Alexander Rabtchevich wrote: Haven't found in bugs and SVN changelog. GIMP 2.3.18 (Windows) deletes exif data from images. There is a similar bug on bugzilla.gnome.org filed against the GIMP component (it may have been

Re: [Gimp-developer] 2.3.18 deletes exif data from images

2007-06-21 Thread Luis A. Florit
I have a Panasonic FZ50 whose EXIF data was always preserved by GIMP. Now, opening a file straight from the camera with GIMP and immediately saving it deletes the EXIF. And in the Save as... dialog, there is no option to save (or not) the EXIF, as it always was. Not evey a grey

Re: [Gimp-developer] 2.3.18 deletes exif data from images

2007-06-21 Thread Luis A. Florit
Hi Mukund, On Wed, Jun 20, 2007 at 09:01:16PM -0300, Luis A. Florit wrote: Here is the bug in question: http://bugzilla.gnome.org/show_bug.cgi?id=446809 In fact, this bug in 2.3.18 is not related (only) to Bibble. Yes, it's not limited to Bibble. That's a title stated

Re: [Gimp-developer] 2.3.18 deletes exif data from images (2)

2007-06-21 Thread Luis A. Florit
Hi Mukund, On Wed, Jun 20, 2007 at 09:01:16PM -0300, Luis A. Florit wrote: Here is the bug in question: http://bugzilla.gnome.org/show_bug.cgi?id=446809 In fact, this bug in 2.3.18 is not related (only) to Bibble. Yes, it's not limited to Bibble. That's a title stated

[Gimp-developer] Rudeness on gimp devel, version 754 (was '2.3.18 deletes exif data from images')

2007-06-21 Thread Luis A. Florit
On 6/22/07, Luis A. Florit wrote: Thanks for (yet another) (double) stupid answer, Sven. offtopic We are not going to compensate loss of Carol by become rude ourselves are we? Could we possibly take a deep breath, count to 10 and smile friendlier to each other? /offtopic Alexandre

Re: [Gimp-developer] 2.3.18 deletes exif data from images

2007-06-22 Thread Luis A. Florit
* El 22/06/07 a las 8:53, Sven Neumann chamullaba: Hi, On Fri, 2007-06-22 at 00:18 -0300, Luis A. Florit wrote: From aggressive answers, to unanswered mails (not that bad), It would help a lot if you could try to be more precise in your mails. That would avoid the need to ask

Re: [Gimp-developer] 2.3.18 deletes exif data from images (2)

2007-06-23 Thread Luis A. Florit
Hi Mukund, Compiling the trunk, I saw that GIMP (also version = 2.3.18) needs libexif = 0.6.15, while there is no RPM repository with libexif version bigger than 0.6.13. (Probably most RPM based distros have the libexif outdated). Ah good. So there lies your problem :-) Yes. Thanks for

Re: [Gimp-developer] 2.3.18 deletes exif data from images

2007-06-23 Thread Luis A. Florit
Hi Sven, So, yes, I state, publicly, again: this bug has been ignored for months (in fact, for years, since Fedora 4, and we are now in Fedora 7). No matter if you let me 'get away' or not. These bug reports have not been ignored. They are not GIMP bugs and have been reassigned

Re: [Gimp-developer] 2.3.18 deletes exif data from images

2007-06-24 Thread Luis A. Florit
* El 24/06/07 a las 14:57, Sven Neumann chamullaba: Bug GIMP is the only application, graphic or not, that showed this problem, in several years of daily use. The mouse works on every other application perfectly, and always did. Did you actually try it with another GTK+ application that

Re: [Gimp-developer] Mouse problems using Wacom tablets (was 2.3.18 deletes exif...)

2007-06-25 Thread Luis A. Florit
For a long time, nothing has changed in GIMP with respect to XInput devices. So the fact that an upgrade introduced this problem seems to be a strong indication that the problem is elsewhere. I have similar problems using a Genius tablet. Once I used the pen, mouse is no longer detected

Re: [Gimp-developer] Mouse problems using Wacom tablets

2007-06-27 Thread Luis A. Florit
Luis wrote: I tried to install Inkscape Fedora RPM, but for some reason the last repository version seems highly broken (at least with my package setup). I should compile it by myself when I have some time (lots of libraries and dependencies). There are autopackages available at the

[Gimp-developer] script-fu menu

2008-03-01 Thread Luis A. Florit
Hi, I am writting a (almost finished) plugin in script-fu and wanted some features for the script-fu main option window of my plugin, but I was unable to find this googling. So it's probably not possible... I want to do these on the plugin option window: 1) Gray-out some options

Re: [Gimp-developer] script-fu menu

2008-03-02 Thread Luis A. Florit
* El 02/03/08 a las 15:25, Laxminarayan Kamath chamullaba: I am not a GIMP developer, though I have been a spectator on this list for a while now. I suggest that you specify exactly what you are trying, and what exactly you are looking for. A detailed work-flow and a UI mock-up image would

Re: [Gimp-developer] Gimp-developer Digest, Vol 66, Issue 3

2008-03-02 Thread Luis A. Florit
Sorry, I thought I was clear enough (did I specify the solution??) What I want to do is what is pretty standard in these cases: You were certainly clear enough, I thought I was... but there is no way to do that using script-fu. If you need fine control of the interface, you'll have to

Re: [Gimp-developer] Gimp-developer Digest, Vol 66, Issue 4

2008-03-02 Thread Luis A. Florit
Luis A. Florit wrote: But I do not know if these are possible in script-fu, and I didn't find a complete enough reference for script-fu. There is some documentation about Script-Fu at http://www.gimp.org/docs/. I have been putting together my own set of documentation for Script-Fu which

[Gimp-developer] script-fu problem in 2.6

2008-12-16 Thread Luis A. Florit
Hi, I have a script-fu that worked fine in 2.4 and it's broken in 2.6. It had a conditional to apply the layer's mask if it exists. This is what it read: (cond ((gimp-layer-get-mask SharpenLayer)(gimp-layer-remove-mask SharpenLayer 0)) ) Now it is broken. How do I tell

Re: [Gimp-developer] script-fu problem in 2.6

2008-12-17 Thread Luis A. Florit
saulgo...@flashingtwelve.brickfilms.com wrote: Perhaps we need to add gimp-layear-has-mask then. Until then you could use gimp-plugin-set-pdb-error-handler to take over the error handling in order to suppress the warning. I haven't been following this discussion that closely; however, I

Re: [Gimp-developer] script-fu problem in 2.6

2008-12-18 Thread Luis A. Florit
I haven't been following this discussion that closely; however, I would point out that the PDB function 'gimp-layer-get-mask' will return -1 if the layer does not have a mask. Yes. I manage to use that in 2.4 (because some strange reason), but the method does not work in 2.6. How