Re: [Gimp-developer] Script-Fu/Scheme---what is #f

2002-09-05 Thread Roland Roberts
Simon == Simon Budig [EMAIL PROTECTED] writes: Simon Roland Roberts ([EMAIL PROTECTED]) wrote: I'm trying to write write a script-fu to automatically take a finished image and produce a set of scaled images for display on a web site. The learning curve for this is rather

[Gimp-developer] Script-Fu error ... GUI shows different image selection than what script gets

2002-09-05 Thread Roland Roberts
I have a script-fu set up which has the following initialization: (script-fu-register script-fu-astro-rescale-for-web Toolbox/Xtns/Script-Fu/Astronomy/Scale for Web Rescale current image to \standard\ sizes for web display Roland B.

Re: [Gimp-developer] gimp-drawable-type doesn't work on images?

2002-09-05 Thread Roland Roberts
Simon == Simon Budig [EMAIL PROTECTED] writes: Simon I have not yet checked the problem you mentioned in your Simon other Mail, it might very well be a bug. [...] Simon However, you can easily avoid this problem by moving the Simon menu entry to Image/foo/bar/baz and

Re: [Gimp-developer] Script-Fu error ... GUI shows different image selection than what script gets

2002-09-05 Thread Roland Roberts
Simon == Simon Budig [EMAIL PROTECTED] writes: Simon [...] There is no real concept of a active image. This is Simon the primary reason, why there is no save entry in the Simon toolbox menu. Simon If you register your script in the context menu of the Simon image (Image)

Re: [Gimp-developer] gimp-drawable-type doesn't work on images?

2002-09-05 Thread Roland Roberts
Simon == Simon Budig [EMAIL PROTECTED] writes: Simon You can determine the global image type via Simon (gimp-image-base-type ...) but be aware that the the Simon values returned are not compatible with the values returned Simon by gimp-drawable-type. Thanks, I thought I had

Re: [Gimp-developer] copy-paste-anchor shifting my position

2002-09-05 Thread Roland Roberts
Simon == Simon Budig [EMAIL PROTECTED] writes: Simon Roland Roberts ([EMAIL PROTECTED]) wrote: I'm trying to copy a layer from one image to another. Below is a fragment of the code to do this; new-image has already been created with the same base type as the old-image

[Gimp-developer] No programmatic undo?

2002-09-05 Thread Roland Roberts
Is there any way to programmatically undo a set of operations? I want to take and resize an image. To do so, I currently copy it repeatedly, flatten, resize, and save. The copy/flatten is time-consuming. I thought I could do that one, do the resize and save, undo the resize and then resize to