[Gimp-developer] Any examples for gimp-progress-install?

2010-10-30 Thread Gino D
Hi. I would like to precisely understand how the gimp-progress-install procedure works; sorry, I have tried to see the source code for this purpose, but I am still not very experienced in reading and managing it, and I have some difficulty in figuring out what a progress-callback exactly

Re: [Gimp-developer] Getting the ID of a nested layer on GIMP 2.7.1

2010-10-18 Thread Gino D
On Fri, Oct 15, 2010 at 1:59 PM, LightningIsMyName lightningismyn...@gmail.com wrote: Try gimp_item_is_group to check if a layer is a group layer, Then you can use gimp_item_get_children (on the group layers) to get the children by their order (topmost to bottomost). Finally, you can use

[Gimp-developer] Getting the ID of a nested layer on GIMP 2.7.1

2010-10-15 Thread Gino D
Hi. Correct me if I'm wrong, but I have seemed to notice that the gimp-image-get-layers procedure, when running on GIMP 2.7.1, doesn't return the identifiers of the layers nested within groups, while yielding the ones of unattached layers and layer groups. So, how may such identifiers be

Re: [Gimp-developer] Layer-Visibility in rotate tool: always 100%

2010-08-17 Thread Gino D
2010/8/17 oli...@first.in-berlin.de: Hello, in the rotate tool, when I make the visibility 100% this simply does not work. The layer that will be rotated is always 100% visibile. Will it be enough to mention it here (because of a possible quick fix)? Or should I file a bug-report (or maybe

Re: [Gimp-developer] Creating unique file names with Script-Fu

2010-07-08 Thread Gino D
2010/7/8 Kevin for...@gimpusers.com: Would it not be possible to create a reasonably unique name using the tiny-fu, ftx extension, (time) function? That should give you a name unique to the current time, at least if you don't try and use it more than once in the current second. You'd

Re: [Gimp-developer] Creating unique file names with Script-Fu

2010-06-29 Thread Gino D
2010/6/27 Jon Cruz j...@joncruz.org: On Jun 23, 2010, at 10:58 AM, Gino D wrote: After doing several tests, my impression is that such a stratagem should work well. Nevertheless, I'm not totally sure of its infallibility, because, among other things, I don't know if the character

Re: [Gimp-developer] Creating unique file names with Script-Fu

2010-06-27 Thread Gino D
2010/6/25 Rob Antonishen rob.antonis...@gmail.com: Add in a merge sort (i used these three functions):    (define split      (lambda (ls) ...          (split-h ls ls '()    (define merge      (lambda (pred ls1 ls2)     ...          (else (cons (car ls2) (merge pred ls1 (cdr

Re: [Gimp-developer] Creating unique file names with Script-Fu

2010-06-24 Thread Gino D
Hi. 2010/6/23 saulgo...@flashingtwelve.brickfilms.com: I do not believe it is possible for a Script-fu to delete files. You will need to either do this outside of GIMP or write a plug-in. Deletion of files is made possible by the “file-delete” procedure, as shown at the end of the sequence

[Gimp-developer] Creating unique file names with Script-Fu

2010-06-23 Thread Gino D
Hi. I'm working on a script in which I would like to insert a sequence of commands aimed to save a drawable as PAT file and eventually, when no longer needed, eliminate the file in question. This trick allows to create a temporary pattern existing only during the script execution, so as to fill a

Re: [Gimp-developer] Gimp UX: Paste

2010-06-04 Thread Gino D
2010/6/3 Rob Antonishen rob.antonis...@gmail.com: I've been following this with interest. To play with it, I created a script: http://ffaat.pointclark.net/incoming/scripts/paste-as-new-centered.scm It registers as Edit-Paste As-New Centered Layer -Rob A Thank you, Rob, for creating this

Re: [Gimp-developer] Gimp UX: Paste

2010-06-03 Thread Gino D
Hi. 2010/6/2 Jason Simanek jsima...@gmail.com: Thanks for pointing out the usefulness of floating selections for scripting/plugins. That makes a lot of sense. But if that is the only usefulness for this special type of layer I think it should be a special behavior that can be employed by

Re: [Gimp-developer] Gimp UX: Paste

2010-06-02 Thread Gino D
Hi. 2010/6/2 Jason Simanek jsima...@gmail.com: A new layer is non-destructive. Why is there a need for this other type of layer? The name 'floating selection' isn't even accurate. This is a collection of pixels. It is not a selection. A selection is an ephemeral mask not a collection of

[Gimp-developer] GIMP 2.7 and Single Window Mode

2010-01-04 Thread Gino D
Hi. Inside a web page, I've read that the release of GIMP 2.7 already anticipates several features of the stable version 2.8, including the ability to activate the Single Window Mode. Nevertheless, I guess the article was referring only to the Linux version of the program, because the author