Re: [Gimp-user] Error while executing script (Script Stop Working in Windows 2.6.3)

2008-12-14 Thread saulgoode
Quoting Kevin Cozens : > Your code has "(if (= inSmooth TRUE) 1 0)" where in Smooth is a boolean value > provided by the SF-TOGGLE. The "=" operator is for use when > comparing numbers, > not booleans. Since inSmooth is a boolean, change your if statement to read > (if inSmooth 1 0) I am

Re: [Gimp-user] Gimp update and script-fu doesn't work

2008-12-12 Thread saulgoode
Quoting "a...@storm" : > Chris Mohler said the following on 2008-12-09 19:25: > > > Yes - there have been changes - if you post your script-fu here, > > someone might help you update it. > > > Okay, pasted script lost text formating in e-mail. > So I put it here: > http://ak-studio.com.pl/adam/

Re: [Gimp-user] develop web-based image editing application with gimp as backend engine

2008-12-11 Thread saulgoode
Quoting Vu The Cuong : > The subject says it all. Currently I'm considering to > develop web-based (PHP) image editing application with gimp as backend > engine for intranet use. I responded to your post on GIMPtalk but thought I'd echo it here for posterity's sake... You will need to start th

Re: [Gimp-user] GIMP suddenly gimpy!

2008-11-23 Thread saulgoode
Quoting LadyYepperz <[EMAIL PROTECTED]>: > My GIMP 2.6 is suddenly unusable, undescribable, unbelievable... > http://us.share.geocities.com/yepyepper/gimp.bmp > please follow the link to see why! I was unable to view your image, so this comment may be entirely offbase; however, a GIMP user repo

Re: [Gimp-user] Easily copying selections to a file?

2008-11-13 Thread saulgoode
Quoting Joshua McGee <[EMAIL PROTECTED]>: > I sell postage stamps. For inventory photos, I scan whole "stocksheets" > (black backing, acetate strips to hold the stamps) with the stamps in place, > then use GIMP to cut out the individual stamps for listing. I have written a simple script which wi

Re: [Gimp-user] Modifying text color

2008-11-13 Thread saulgoode
Quoting community help <[EMAIL PROTECTED]>: > I'm new to GIMP. I created a simple text. Now i want to change the > color of the text. How can I do that? Just drag a color from any "color swatch" and drop it on the text layer's thumbnail preview in the Layers Dialog. "Swatches" are the litt

Re: [Gimp-user] GAP Onionskin Question

2008-10-23 Thread saulgoode
nd saved a PPM copy of the registered image of the drawing in a PPM directory as I went along. Likewise, I organize the other files in the same way: XCF files go in a XCF directory, etc. I found out that if a drawing was cocked, I could first align the crosshairs, then use the rotate tool with the center pla

Re: [Gimp-user] script-fu code to load pdf with set resolution

2008-10-21 Thread saulgoode
Quoting "Ash C." <[EMAIL PROTECTED]>: > I am wanting to write a script that will load a pdf with a specified > resolution and then save it as a jpeg. > > ... When I alter the size of the image using 'gimp-image-resize' it seems > to keep the image at the same size but sets the extra area to transp

Re: [Gimp-user] export and save as gif dialogs

2008-10-20 Thread saulgoode
Quoting [EMAIL PROTECTED]: > When I try to save a file, I get following error message (2 messages > on one window): > 1. there are not enough layers marked as 'Visible' to do the > function 'join visible layers'. There must be at least 2 layers. > ... > I hope, you know how to fix this, In

Re: [Gimp-user] export and save as gif dialogs

2008-10-19 Thread saulgoode
Here is the script. I tried to write it so that it would run on GIMP 2.2 (as well as 2.4 and 2.6) but I have only tested it on version 2.6. http://flashingtwelve.brickfilms.com/GIMP/Scripts/fast-gif-save.scm ___ Gimp-user mailing list Gimp-user@lists.

Re: [Gimp-user] export and save as gif dialogs

2008-10-19 Thread saulgoode
Quoting [EMAIL PROTECTED]: > All I need is: > I do not work with layers, just with gif pictures. > I select part of a gif picture and put it into clipboard, then > create a new gif picture. > (2-nd menu column: create new picture). So far everything I do manually. > > Now: I'd like to write tha

Re: [Gimp-user] export and save as gif dialogs

2008-10-19 Thread saulgoode
Quoting [EMAIL PROTECTED]: > I use SF-WHATEVER, I just had a typo in the email. > The complete script is my previous email and also attached > to this email. I did not realize you were trying to use that script exactly; I thought you used it as an example in writing your own script. That scr

Re: [Gimp-user] export and save as gif dialogs

2008-10-19 Thread saulgoode
Quoting [EMAIL PROTECTED]: > With SF_STRING or SF_FILENAME the error remains the same. > Error: unbound variable (errobj /tmp/x.gif) Use SF-STRING or SF-FILENAME, not SF_STRING, SF_FILENAME. If that does not fix your problem then post your script; it is difficult to find bugs when only fragm

Re: [Gimp-user] script-fu-save-anim-layers

2008-10-18 Thread saulgoode
Script has been updated. Quoting Alec Burgess <[EMAIL PROTECTED]>: > Script: > http://flashingtwelve.brickfilms.com/GIMP/Scripts/save-anim-layers.scm > (apparently by Saul Goode 3/11/2008) > > This script was mentioned in bugzilla: > Bug 556548 – Layer extraction script > http://bugzilla.gnome.or

Re: [Gimp-user] GAP Onionskin Question

2008-10-18 Thread saulgoode
I would recommend first reading the reference documentation that is included with the source code. Online at: http://svn.gnome.org/viewvc/gimp-gap/trunk/docs/reference/txt/plug-in-gap-onionskin-configuration.txt?revision=470&view=markup Next, your scanned files should be named sequentially in the

[Gimp-user] Script-fu plugin

2008-10-15 Thread saulgoode
Quoting Adonj Adonj <[EMAIL PROTECTED]>: > I updated my Gimp program from version 2.4.7 to 2.6.0-i686. > The Script-fu plugin copyToAllLayers.scm gave an error, and a Gimp Message: > "Plug-In 'Copy mask' left image undo in inconsistent state, >closing open undogroups". I wondered if you have

Re: [Gimp-user] Script-fu plugin

2008-09-28 Thread saulgoode
Quoting Adonj Adonj <[EMAIL PROTECTED]>: > I wondered if you knew of a script that would also APPLY the copied > layers as you mention. Edit the script to add the following code: (set! layers (visible-layers image)) (while (pair? layers) (gimp-layer-remove-mask (car layers) M

Re: [Gimp-user] script-fu plugin

2008-09-28 Thread saulgoode
Quoting Adonj Adonj <[EMAIL PROTECTED]>: > > > I'm using gimp2.4.7 in windows XP. I copied a script-fu plugin I > found to my C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins, which > should > copy a layer mask to multiple layers or apply a layer mask to > multiple layers. > I get an error

Re: [Gimp-user] gimp script-fu

2008-08-03 Thread saulgoode
Quoting Helen <[EMAIL PROTECTED]>: > But you did say "almost all ..." so I > guess there are some that > were included in earlier versions but no longer? Is that the case? We've > lost some? > Would it be too much to ask for a kind of rundown on what's been lost, > what's still available? The

Re: [Gimp-user] gimp script-fu

2008-08-02 Thread saulgoode
Quoting Helen <[EMAIL PROTECTED]>: > In the previous verion of Gimp that I was using until recently, > there was a Script-fu tab, with things like Old Photograph. > That was gimp 2.2.10. > > Now, I've upgraded to 2.4, and I no longer have the script-fu features. > > Is there something I can do to

Re: [Gimp-user] using grid on gimp

2008-07-12 Thread saulgoode
Quoting [EMAIL PROTECTED]: > I am trying to make 10 cm and 20 cm horizontal and vertical lines on > a photo.? In other word, trying to divide a photo into thirds. Can > someone help?? Thanks. I wrote a Script-fu a while back which will create a 3x3 grid layer based upon the dimensions of

Re: [Gimp-user] subtract selection control

2008-07-08 Thread saulgoode
Quoting ChadDavis <[EMAIL PROTECTED]>: > I've got a rectangle selection. Now, I am trying to do a subtractive > selection within that rectangular selection, to make a sort of picture frame > selection. The problem is that I'm having trouble getting the inner, > substractive selection centered wi

Re: [Gimp-user] Redo paints after creating a new layer

2008-06-26 Thread saulgoode
Quoting Johan Vromans <[EMAIL PROTECTED]>: > Still, I'd like to know if it is possible to replay paint history > after a layer create. Not that I'm aware of. You could, however, perform a Copy Visible (this after you have placed your dots and realized your mistake), UNDO until all the dots ar

Re: [Gimp-user] Problem with shadows

2008-05-18 Thread saulgoode
Quoting John Coppens <[EMAIL PROTECTED]>: > Hello people, > > I do the following: > > 1) A solid background, > 2) A text of 5 lines, which is generated on a new layer > 3) I move the text around a bit to align it, using the move tool, > > With the text layer selected, I use tha drop-shadow, hoping

Re: [Gimp-user] Save the layers!

2008-05-17 Thread saulgoode
Quoting Lap1994 <[EMAIL PROTECTED]>: > I am trying to make a skin for my Opera. You know, skins for softwares are > those packs of settings and images that change the appearence of it. > Well, I am doing the page button. My page button have six images, left, > top, right, top-left,top-center,top-r

Re: [Gimp-user] Opacity

2008-05-17 Thread saulgoode
Quoting Lap1994 <[EMAIL PROTECTED]>: > Hello. I want to draw a image with a 50% opacity border. > When I change the opacity of the pencil and use it, the selected color and > the color where I use the pencil, combine itself. I do not want it, I want > draw a pixel with exact 50% of alpha and the c

Re: [Gimp-user] creative ideas for blending a cropped + rotated image?

2008-05-02 Thread saulgoode
Quoting Anthony Ettinger <[EMAIL PROTECTED]>: > I have a photograph of a client that I would like to rotate so the > angle is not crooked, but I end up with a "V" shape after > rotation...does anyone have any creative ideas for blending something > in to get a full rectangle? > > This is the image

Re: [Gimp-user] Exact crop question

2008-04-22 Thread saulgoode
Quoting David Gowers <[EMAIL PROTECTED]>: > You defined zac-autocrop correctly, but you haven't registered it with GIMP. > See this link for an example. If you are calling a Script-fu defined function from the command line, it is not required that the function be registered with the PDB. The

Re: [Gimp-user] Preview window

2008-04-13 Thread saulgoode
Quoting Lap1994 <[EMAIL PROTECTED]>: > Gimp have a preview window that appears when you zoom the image? I know > MSPaint have. > With this you see what your small brush do in the real size image when you > are in a zoom of 2x or 4x You would accomplish this by creating a "New View" (use the "Vie

[Gimp-user] [fix the script] copy a selection and paste as new layer..

2008-03-15 Thread saulgoode
Jihui Choi wrote: > Here is a script. this copy a selection of the active layer and paste > it as new layer with its opacity > made by Ankh (thank you, Ankh in #gimp, irc.gimp.org) > but there is a problem. > size of the new layer is not its own size, is the same with the image. > so I tried to f

Re: [Gimp-user] gimp-vectors-stroke-get-length

2008-02-27 Thread saulgoode
Your Python code would seem to define 'strokes' but then access 'stroke1'. Unless 'stroke1' is defined somewhere else I should suspect this to be problematic. (I could be missing something as I never use Python.) Your Scheme code looks fine except for the fact that 'gimp-vectors-stroke-get

Re: [Gimp-user] distress selection

2008-02-22 Thread saulgoode
Quoting Elwin Estle <[EMAIL PROTECTED]>: > I know the contents of the original Script-fu menu got distributed > into the other menus > in the 2.4 series...what happened to Script-Fu>Selection>Distress > Selection? Is it still > there, only buried somewhere? I have looked through the menus,

Re: [Gimp-user] pucker skin

2008-01-29 Thread saulgoode
Quoting Zhang Weiwu <[EMAIL PROTECTED]>: > I wish to achieve the effect to add a deep pucker on the skin, as of > the bone is broken underneath the sking or there is a joint underneath. > Or should I use the word "wrinkle" or "crinkle", I am not sure. I am a > new gimp user who just managed to lea

Re: [Gimp-user] Batch - delete selection

2007-12-11 Thread saulgoode
> What I'd like to do : select all, shrink the selection, rectangle > round the selection, feather the selection, invert the selection, > delete the selection, then save the file. > > Here is my unfinished script (I'm adding one step at a time), I tried > several ways to delete the selection to no

Re: [Gimp-user] Save all opened files with ONE click, or with script...

2007-11-24 Thread saulgoode
> Sven Neumann wrote: > > "script-fu-save-all-images" is a name in the script-fu namespace. This > namespace should be kept for scripts that are distributed with > Script-Fu. It would be safer to call your script for example > "saulgoode-save-all-images&q

Re: [Gimp-user] Save all opened files with ONE click, or with script...

2007-11-23 Thread saulgoode
> Sven Neumann wrote: > Sure, just register it as " better, just use "Save All" where the full menu path was given and add > the line > > (script-fu-menu-register "script-fu-save-all-images" > " Sven Neumann wrote: > Also the script should not be called "script-fu-save-al

Re: [Gimp-user] Save all opened files with ONE click, or with script...

2007-11-22 Thread saulgoode
> And next I need to close every opened files one by one with clicking on > [X], and Save, and Save with defaults. > This section is very hateable, slow, and automatizable (I think). > > But I don't know, how to do it! It is, to my knowledge, impossible for a script or plug-in to close an image wh

Re: [Gimp-user] Whitebalance Function

2007-11-15 Thread saulgoode
> I try to write a Perl script which automatically adjusts the white > balance on images with gimp. In gimp there exists the function > Colors->Auto->Whitebalance, but I'm unable to find the corresponding > function in the PDB. "Colors->Auto->White Balance" calls the PDB function 'gimp_levels_str

Re: [Gimp-user] GAP scripting?

2007-11-15 Thread saulgoode
> I need to do a complicated GAP animation. > It involves many steps that I will probably need to redo several times. > A script that I could edit and re-run multiple times so that I can get > it right. I don't believe such functionality currently exists unless you write a dedicated plug-in. You c

Re: [Gimp-user] Trouble calling running batch script in Windows XP

2007-11-10 Thread saulgoode
I do not believe that single-quoting a command line argument in Windows works the same as BASH (Linux). Try using double-quotes and escape any double-quotes which appear in your argument: gimp -i -b "(batch-CUPify \"*.png\")" -b "(gimp-quit 0)" If you include directories in your path, also escape

Re: [Gimp-user] Trouble calling filter plug-ins from script-fu console

2007-11-05 Thread saulgoode
You must supply the appropriate drawable ID to the plug-in. Per your example: (plug-in-autocrop 1 4 (car (gimp-image-get-active-layer 4))) Quoting Sam Kuper <[EMAIL PROTECTED]>: > I want to apply a filter plug-in via the script-fu console, but this doesn't > seem to work. I have tried with sever

Re: [Gimp-user] colour to black and white

2007-10-25 Thread saulgoode
Oops, I just realized that what you describe may be attributed to the fact that GIMP will display a dark gray/light gray checkerboard to indicate transparent regions. Perhaps you have created your lithograph correctly but misinterpreted this representation of transparency. You might try crea

Re: [Gimp-user] colour to black and white

2007-10-25 Thread saulgoode
There should be no white in the resulting image. When you decompose to RGB ("Colors->Components->Decompose"), you end up with a grayscale image with three layers -- one each for the red, green, and blue components. When you add the layermasks, you are basically making the the black parts o

Re: [Gimp-user] colour to black and white

2007-10-25 Thread saulgoode
It seems you would basically want an inverted copy of the blue channel with white regions being transparent. There are dozens of ways to accomplish this. I would propose the following: Decompose you image to RGB components. In the new image, hide the red and green layers. Add a layermask to th

Re: [Gimp-user] file-glob problem in 2.4.0rc3

2007-10-18 Thread saulgoode
'file-glob' used to return a list of strings in GIMP 2.2, now it returns a vector. You can make your code work by using the following substitution: (car (vector->list (cadr (file-glob "*.png" 1 However, Script-fu should probably be amended to return lists for PDB STRINGARRAY values (if

Re: [Gimp-user] FW: Question on copy from selection

2007-10-05 Thread saulgoode
Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > I have a question on copying a portion of an image in gimp. First, > a little context. I needed to create a layer with only some > features in an image. For that, I first selected a suitable area in > the image using the "Free Select"

Re: [Gimp-user] Selection Across Layers

2007-09-29 Thread saulgoode
Quoting Asif Lodhi <[EMAIL PROTECTED]>: > I've begun using Gimp again after a long time. IIRC, one (more?) tool > of Gimp had an option of making a selection that went through all the > layers right to the bottom layer. And, IIRC, having made that type of > selection in one of the top layers and p

Re: [Gimp-user] Bit-depth Processing

2007-09-26 Thread saulgoode
Quoting gimp_user <[EMAIL PROTECTED]>: > ... An MVC architecture and user view customisation tools > would be much more attractive route because it would lay the groundwork for > emulating other tool sets including any future tools competitve to PS. The > challenge for gimp is how

Re: [Gimp-user] GIMP could not initialize the graphical user interface

2007-09-16 Thread saulgoode
Try it without the "sudo". When you use sudo, you are running as a different user and so your own user settings (ie, the DISPLAY) are ignored. Quoting "Samuel V. Green III" <[EMAIL PROTECTED]>: > I just finished a new install of GIMP version 2.2.14 via MacPorts. > > When I issue command : su

Re: [Gimp-user] How to define Script-Fu widgets?

2007-09-10 Thread saulgoode
Quoting Milos Prudek <[EMAIL PROTECTED]>: > How are the various GUI widgets defined in Script-Fu? > > For instance Script-Fu/Decor/Fuzzy border: > - Border size GUI widget is a "number with arrows". > - Granularity GUI widget is a "slider with arrows". > > I look at the fuzzyborder.scm file. These

Re: [Gimp-user] batch mode debugging

2007-09-09 Thread saulgoode
Quoting Milos Prudek <[EMAIL PROTECTED]>: >> It is my understanding that ALL Script-fus are run non-interactively. > > script-fu-fuzzy-border can run interactively. It is available in > Right-click/Script-Fu/Decor/ menu in GIMP. It asks interactively for its > parameters. Is it an interactive run?

Re: [Gimp-user] batch mode debugging

2007-09-09 Thread saulgoode
Quoting Milos Prudek <[EMAIL PROTECTED]>: > How am I supposed to discover that RUN-NONINTERACTIVE is not a valid > parameter > for 'script-fu-fuzzy-border' if "run_mode" is in the parameter list in the > Procedure Browser, and furthermore plug_in_unsharp_mask does indeed work with > RUN-NONINTE

Re: [Gimp-user] batch mode debugging

2007-09-09 Thread saulgoode
RUN-NONINTERACTIVE is not a valid parameter for 'script-fu-fuzzy-border'. Quoting Milos Prudek <[EMAIL PROTECTED]>: > I simplified the above problem into the following script: > > (define (fuzzy-border-single filename) >(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)

Re: [Gimp-user] color info, was: infowindow

2007-09-04 Thread saulgoode
> thank you for your interest & help ­ yes shift works e.g. with the > selection > tool but not with the pipette, though I see that shift enables the > checkbox > in the tool options of the pipette (I can also check it per mouse). but no > color info... > > do you see the entry color info in the me

Re: [Gimp-user] pdb.gimp_by_color_select malfunction .. workaround

2007-08-30 Thread saulgoode
Quoting Stephen Moss <[EMAIL PROTECTED]>: > Thanks David, > > I have to eat crow on this one... I plead fatigue ;-) > > Choosing the correct option does help a whole bunch: > CHANNEL-OP-REPLACE (2) <---correct answer > ... > CHANNEL-OP-ADD (0) doesn't work very well if everything has been > select

Re: [Gimp-user] Create layered animation from a tiled animation.

2007-08-30 Thread saulgoode
Quoting Brian Vanderburg II <[EMAIL PROTECTED]>: > Out of need I created a script and finally got it working even on 2.3.18. > > Normally an animation is either done as one layer for each frame or > using GIMP Animation Package one file per frame. With the first > method, it is not possible to ha

Re: [Gimp-user] Font quality in GIF files

2007-08-21 Thread saulgoode
Quoting Amit Ramon <[EMAIL PROTECTED]>: > Technically, as far as I understand, there should be no problem to > have a good > anti-aliased fonts in a gif file. The problem is with the very specific > method I (or gimp?) creates the gif. > > Does anyone here knows how can one create a decent anti

Re: [Gimp-user] How to Apply an operation to ALL OPENED FILE... or how to do it simply?

2007-08-14 Thread saulgoode
Quoting David Hodson <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > >> If you install Dave Hodson's Batch Processor >> (http://members.ozemail.com.au/~hodsond/dbp.html), the AUTO LEVELS under >> the "Colours" tab will effectively perform an auto white balance. > > Actually, it calls "gimp_level

Re: [Gimp-user] How to Apply an operation to ALL OPENED FILE... or how to do it simply?

2007-08-13 Thread saulgoode
> I have a photo collection with 2000 photos (from phone). This is one > collection, and I know that I can use "White-balance" (I don't know how > to say in english, I used hungarian gimp... It is in > layer/color/automatic menu: ) function on it. > But very problematic to open every photo, and do

Re: [Gimp-user] encoding help, please

2007-08-12 Thread saulgoode
Quoting Patrick <[EMAIL PROTECTED]>: > However it does not look like anyone has larger GIFs, about 300px > square, on their websites, no doubt due to the files sizes. I wanted to > also encode a video and post it on the web. I cannot get anything > encoded. I have a bunch of .xcf frames with seria

Re: [Gimp-user] GAP help, combining animations

2007-08-10 Thread saulgoode
Quoting Patrick <[EMAIL PROTECTED]>: > ... What I am still confused about is how to > append one animation to another. I tried the "map to" option with > different frame settings but the second animation just seems to get > imaged over the first rather then appended after it. > > Could anyone tell

Re: [Gimp-user] I need to know how much was cropped with autocrop

2007-08-08 Thread saulgoode
> On 8/1/07, David Gower wrote: > OTOH if you're just autocropping a *layer*, not an image, you can just > compare image corners to layer corners. While looking into this, I notice that autocropping an image uses the active layer, not the projection, to determine the resultant image boundaries. (

Re: [Gimp-user] I need to know how much was cropped with autocrop

2007-08-08 Thread saulgoode
> On 8/1/07, David Gower wrote: > OTOH if you're just autocropping a *layer*, not an image, you can just > compare image corners to layer corners. While looking into this, I notice that autocropping an image uses the active layer, not the projection, to determine the resultant image boundaries. (

Re: [Gimp-user] New small user manual for gimp newbies made

2007-08-04 Thread saulgoode
> A small beginners minihowto about gimp is made. > > The idea is to get newbies started using gimp immediately, with the most > elementary things. > > Has taken me a long time, to learn gimp. > > The address is http://www.minihowto.org > > I am an old pensioner of some 66 years of age. > > This m

Re: [Gimp-user] How do I put the tool bar back on the main Gimp page

2007-08-03 Thread saulgoode
> Somehow my tool bars have moved off of the main GIMP tool bar (the one > that opens files and stuff) and they have moved off to be their own > entities. I keep trying to make it reattach like it used to be but for > the life of me I can't figure out how to do it. Does anyone out there > know ho

Re: [Gimp-user] Writing values to a file from within GIMP

2007-07-28 Thread saulgoode
> Hi, > > I'm writing a script-fu GIMP plugin and I need to be able to write some > decimal values to a file during the execution of the script. I've seen > some > people suggesting that use of fprintf, etc., but can't figure out how to > get > this to work. Can someone please provide some guidan

Re: [Gimp-user] Rounding those corners

2007-07-28 Thread saulgoode
> Hi gimp-user, > > How are you creating a single rounded corner, like those used for > css boxes with rounded corners. > > (i.e., http://www.csszengarden.com/063/corner_yelongreen_tr.gif) > > Or, if you wanted to outline an image's left, bottom, and right, sides > and round the lower corners (radi

Re: [Gimp-user] Channels

2007-07-10 Thread saulgoode
Quoting Victor Domingos <[EMAIL PROTECTED]>: > Is there a preference in GIMP, to make a channel appear as a > grayscale layer, instead of a red, green, or blue layer? Is > decomposing the image the only way to do this? I would laike to > compare two channels more easily, and the R/G/B color cast d

Re: [Gimp-user] Reg: Swapping Colors

2007-06-13 Thread saulgoode
Quoting Nandakumar KS <[EMAIL PROTECTED]>: > Hi, > > In the image am having, I want to swap the colors between red and blue. How > to do that using gimp??? > I would recommend using the Colors Channel Mixer. If you look at the screenshot for it in the online GIMP User's Manual (http://docs.gi

Re: [Gimp-user] gimp-comment in batch file

2007-06-03 Thread saulgoode
OOPS! The 'if' statement should be "(if (null? errobj)". I had my logic backwards. Quoting [EMAIL PROTECTED]: > ;;-- > ;; 'add-comment' attaches "gimp-comment" parasite to 'image' > ;; with the value of the passed 'string' >

Re: [Gimp-user] gimp-comment in batch file

2007-06-03 Thread saulgoode
In order to change the "gimp-comment" you must change a parasite that is attached to the image. The following code defines a function that will set the 'gimp-comment' parasite to the passed string. (Note: I don't have access to the GIMP right now, so I haven't tested it; though I think it will

Re: [Gimp-user] Script-fu help

2007-05-28 Thread saulgoode
Quoting ASJF <[EMAIL PROTECTED]>: > Hi everybody ! > > I have made a script to resize picture... but it doesn't work anymore, I > have change something but I don't remember what... > Can someone help me? I suspect that you are using the development version (2.3) of the GIMP and your difficulty

Re: [Gimp-user] How do I restrict GIMP's palette to 16 - 235?

2007-05-16 Thread saulgoode
Quoting DJ <[EMAIL PROTECTED]>: > I am creating a menu for a DVD. How do I restrict GIMP's palette to > 16 - 235, as mentioned in the reference at the link below? > > [ref: http://people.csail.mit.edu/tbuehler/video/titles.html] Your first option is to scale the range of output colors so they fit

Re: [Gimp-user] Filter / Nature doesnt work above a certain resolution

2007-05-09 Thread saulgoode
I will take a wild guess that when working with your larger image, you have the filter's camera settings "zoomed out" enough that the result is not visible (this would explain the quick execution of the filter). If adjusting your camera settings does not solve your problem, perhaps you could

Re: [Gimp-user] cartoon (card figure) from photo

2007-04-29 Thread saulgoode
Quoting Daniel Nogradi <[EMAIL PROTECTED]>: > I guess I know too little about the terminology here; how do I > desaturate the image? http://docs.gimp.org/en/gimp-layer-desaturate.html > And what do you mean by color removal? The top > layer should have transparent background, should

Re: [Gimp-user] cartoon (card figure) from photo

2007-04-28 Thread saulgoode
I should add that the Greycstoration Plug-in will also work wonders in cartoonifying an image. http://www.greyc.ensicaen.fr/~dtschump/greycstoration/index.html ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU

Re: [Gimp-user] cartoon (card figure) from photo

2007-04-28 Thread saulgoode
I would suggest keeping the two operations -- outlining and color smoothing -- as separate operations. If you duplicate your layer and, on the top layer perform your edge detection, followed by a desaturation and color removal, you will be able to erase (or enhance, or de-emphasize) the outl

Re: [Gimp-user] Path tool not working

2007-04-18 Thread saulgoode
Quoting Andrew <[EMAIL PROTECTED]>: > If I use the path tool, it is not working. even if I start gimp from > scratch, and make a new area, it is still shown with the no entry sign!?!?! > ... > Occasionally, strangely, with nothing I have done apparently having any > effect, the path tool is workin

Re: [Gimp-user] Is there a simple way of repeating a perspective transformation?

2007-04-16 Thread saulgoode
Quoting Neil Woolford <[EMAIL PROTECTED]>: > I have a series of images of objects, shot from the same viewpoint, which all > need to have the same perspective transformation applied before they are > retouched and used. > > Is there any simple way of exactly repeating a transformation on a series

Re: [Gimp-user] using a mask to help blend exposures

2007-04-14 Thread saulgoode
Quoting Joshua Simons <[EMAIL PROTECTED]>: > I am trying to blend two exposures using the 2nd technique ("Layer > Mask") > described at this URL: > > http://www.luminous-landscape.com/tutorials/digital-blending.shtml > > To use this given two exposures, E1 and E2, I need to find a way to > use E1 >

Re: [Gimp-user] Unable to use 'system' command for script-fu <-- Almost done

2007-03-12 Thread saulgoode
Quoting Tony Freeman: > One last thing that I cannot figure out is: how do you close the > dialog box that the image is sitting in? In Scheme you do it like so: > (gimp-display-delete Image) > I've tried the following (with variations), but it causes the > python-fu to hang: > pdb.gimp_di

Re: [Gimp-user] Unable to use 'system' command for script-fu

2007-03-10 Thread saulgoode
Quoting Tony Freeman <[EMAIL PROTECTED]>: > Hello, > > I wonder if someone could help me with this problem I'm having using the > 'system' command in a scheme file. Unfortunately, the 'system' command is one of those rare SIOD functions that is not implemented in Script-fu. You may need to writ

Re: [Gimp-user] Repeating layer control over many layers.

2007-03-09 Thread saulgoode
Quoting Robin Laing <[EMAIL PROTECTED]>: > I am using GIMP to process some videos as it allows an easy way to > measure pixels and ratios. The problem is there are times when I have > to process the image using tools like Layer > Colours > Curves as one > example. > > Now the issue is how do I re

Re: [Gimp-user] image resolution

2007-03-04 Thread saulgoode
Quoting David Heino <[EMAIL PROTECTED]>: > There's much talk recently about HDR images. Could someone with more > technical expertise than I possess comment on HighDef television and whether > there will be soon something like a HighDef computer monitor? Specifically, > for a long time I have been

Re: [Gimp-user] Automated sequence of actions with keyboard shortcuts? [SOLVED]

2007-02-28 Thread saulgoode
Quoting Sven Neumann <[EMAIL PROTECTED]>: > You can write scripts for 2.2 now and continue to use them with future > GIMP versions. The plug-in and scripting API is backwards compatible. I > wonder why the example script even goes through the hassle of trying to > deal with versions. A valid poin

Re: [Gimp-user] Automated sequence of actions with keyboard shortcuts? [SOLVED]

2007-02-27 Thread saulgoode
Quoting Dave M G <[EMAIL PROTECTED]>: > The script looks quite complicated to me, but I will endeavor to use it > as a model for building some other action sequences similar to this. > Hopefully by changing just one or two things at a time I can get a feel > for this and create more interesting sc

Re: [Gimp-user] Automated sequence of actions with keyboard short cuts?

2007-02-26 Thread saulgoode
Quoting Dave M G <[EMAIL PROTECTED]>: > GIMP Users, > > Because of the nature of my work, I have to repeat the same set of > commands over and over again. (...SNIP...) > Is there a way I can save a custom sequence of processes, and then, dare > I hope, bind that sequence to a keyboard shortcut? I

Re: [Gimp-user] How to find out path length?

2006-09-24 Thread saulgoode
If you are using Script-fu and your script is for versions 2.2.x of the GIMP then the following function will return the length of a given path. It will work with version 2.3 but will generate some deprecation warnings (and 2.3 provides better methods). ;; 'sflib-path-get-length' returns the leng

[Gimp-user] Scrip-fu documentation

2006-09-20 Thread saulgoode
Wilbur's Wiki links to this tutorial: http://pingus.seul.org/~grumbel/gimp/script-fu/script-fu-tut.html which provides a good introduction to Script-fu and also addresses the available "SF-..." widget registrations. I believe Sven has already addressed your input parameter problem in a different

[Gimp-user] Script-fu : merge and save to PNG

2006-09-20 Thread saulgoode
When you perform a 'gimp-image-merge-visible-layers', a new layer is created and its ID returned by the function. You need to pass that new layer's ID to 'gimp-png-save' ("ombre1" no longer exists). > I got my script-fu script working, and producing the image I need. Here > it is : > http://www.e

Re: [Gimp-user] script-fu: copy + paste

2006-09-09 Thread saulgoode
The thing that I notice in your script is that the new layer you create has its transparency set to "0". Other than that, the paste is being performed, it is just not visible in the output. > > Hi, > I tried to set up my first script. I wanted to modify the old-photo script > in such a way to ma

Re: [Gimp-user] Layers tree-view (or grouping layers)

2006-08-26 Thread saulgoode
Quoting mfi3 <[EMAIL PROTECTED]>: Thanks for all replies - main reason why I need tree view (and grouping) of layers is cleaning up of layers window - and it would be hard to accomplish in other way than grouping layers and displaying them in a tree view. So I will wait, hoping that some day gi

Re: [Gimp-user] rounded corners on jpg image.

2006-08-14 Thread saulgoode
Quoting "John R. Culleton" <[EMAIL PROTECTED]>: have a jpg image that is in rectangular form. I would like to round the corners off symmetrically to soften the shape a bit. Which is the quickest way to to this? The quickest way is to: * Select all * Perform a "Rounded rectangle" (I think you

Re: [Gimp-user] Fuzzy border in a script

2006-08-12 Thread saulgoode
Quoting houghi <[EMAIL PROTECTED]>: I would like to use 'Fuzzy border' in a script yet I can not seem to get it right. All I get is "batch command: experienced an execution error." I have searched for aboyt two days and dit not find a solution. I would be needing to rn it in a batch script, be

Re: [Gimp-user] how to preserve semi-transparency when converting to indexed

2006-08-05 Thread saulgoode
Quoting j_mach_wust j_mach_wust <[EMAIL PROTECTED]>: saulgoode wrote: The PNG file format specification permits a similar indexed encoding scheme as the GIF format; Unlike an indexed GIF, an indexed PNG allows semi-transparency. I thought I was able to produce such semi-transparent i

Re: [Gimp-user] how to preserve semi-transparency when converting to indexed

2006-08-05 Thread saulgoode
Quoting j_mach_wust j_mach_wust <[EMAIL PROTECTED]>: saulgoode wrote: It works by replacing the non-transparent portion of each layer with the result of merging the layer with the layers below (actually the "projection" of the layers below it). That sounds as if it'

Re: [Gimp-user] Script-fu help?

2006-08-04 Thread saulgoode
Quoting William Fishburne <[EMAIL PROTECTED]>: I'm processing text images for Project Gutenberg (www.gutenberg.net) and I'd like to have a script-fu script that would take a list of files (preferably a file glob) and do the following: * read in the file (a png file that is RGB) * Desaturate HSV

Re: [Gimp-user] how to preserve semi-transparency when converting to indexed

2006-08-04 Thread saulgoode
Since I installed a new version, the semi-transparency is cut off and I have just plain black on transparent background as if there were no antialiasing, very ugly. I wrote a script a while back that attempted to address this (available at http://flashingtwelve.brickfilms.com/GIMP/Scrip

Re: [Gimp-user] Animated GIFs

2006-08-01 Thread saulgoode
Quoting John Meyer <[EMAIL PROTECTED]>: BTW, I stumbled across a problem on how to dial down the speed of an animated GIF. How do you do this using Gimp (Windows)? In order to change the speed of a GIF, you must change the delays that are specified in the GIF's layernames. I have written a

Re: [Gimp-user] Probably simple, need to know right approach

2006-08-01 Thread saulgoode
what you desire to do is not much different from what I did when I created the following iTunes spoof. http://www.postbrickfilms.com/saulgoode/Images/ForumPosts/iGallery.jpg Each of the images was on a separate layer (as well as the text; I had over 80 layers) and had to be resized and cr

<    1   2   3   >