GIMP :: Script-fu File-glob Not Returning Value
Apr 15, 2012
I'm using copy paste of the example code from here: URL....
but I seem to be doing something wrong. My objective is to batch process a bunch of files using a filter i found for underwater images. I've tried both modifying the script I got and calling it using another function but I always get the same error:
MacBook-Pro:testImages twonius$ gimp -i -b '(batch-Scuba-mask "*.jpg")' -b '(gimp-quit 0)'This is a development version of GIMP. Debug messages may appear here.
batch command experienced an execution error:
Error: ( : 32664) eval: unbound variable: filelist
plug-in 'script-fu' aborted before sending its procedure return values..here's my code:
(define (batch-Scuba-mask pattern)
(let* ( (filelist (cadr (file-glob pattern 1)) )))
(while (not (null? filelist))
(let* ((filename (car filelist))
(image (car (gimp-file-load RUN-NONINTERACTIVE
[code]....
The folder i'm in does contain .jpg images, and I've changed the filenames to eliminate spaces. script-fu-diving is working fine when I execute from gimp. Considering I've only made a couple of modifications from the example script this must be something pretty simple.
View 6 Replies
ADVERTISEMENT
Sep 21, 2012
I've got a script for processing a bunch of files which starts by bringing up ufraw. I would like to have ufraw save the list of modifications made before returning to gimp. (.ufraw file)
However, when gimp starts ufraw, it passes some option to ufraw whichcauses ufraw to not display the save tab which allows setting what to save.
Is there a way to tell gimp to bring up ufraw differently, or is the problem in ufraw?
View 9 Replies
View Related
May 20, 2013
I´m having this problem:
I created and array to receive linked filed (let´s say var pItem = app.activeDocument.placedItems;)
After it, I used a loop to know the File each link is associated. So:
for (var g=0; g<pItem.length;g++){
var src = pItem.file >>>>>>>>>>>>>>>>>>> The problem is here. If we have a missing link in the document, the script will stop with the message.
... continue procedure
};
Of Course, I could try using an "try" statement...but..Just to know: Is there any way to evaluate the status of a placedItem (to know if it´s missing or not)?? In the user manual I did not find any property that checks for this. We have properties to check for bounds, matrix, notes, tags, if it´s locked, visible...but not for checking the consistency of a placedItem, right?
View 2 Replies
View Related
Sep 18, 2013
I had PSCS6 and LR5 working fine together, but after buying and installing Adobe Premiere Elements, the Edit in option from LR5 doesn't work like before anymore : after the PSCS6 edit is finished, the PS menu saying "Save and return to LR" is missing. I get only the Save and return to Bridge option.
I had hoped that installing both the Camera raw 8.2 and LR5.2 updates would have corrected the problem, but it didn't. What can I do to get the correct menu option back ? Is there anything in the preferences or in the ini file which I could change (working in Windows 7 64bits) ? I never use Bridge and rarely use Premiere Elemnts and I find this behaviour very noyous. Although the edited tiff picture is correctly saved and seems appears in LR. Still getting back automatically to LR would be more aggreable, since both programs are supposed to work together and that was the main reason why I updated from CS5 to CS6.
Is there any option that I could tweak to get back to the old and more correct behaviour ?
View 3 Replies
View Related
Feb 19, 2012
I always close/save any image(s) that I'm working on however when I later reopen PS, the last image(s) I was working automatically open in PS again.
when I quit PS, it often says "Photoshop Quit Unexpectedly". This happens whether I close by right clicking on the PS icon on the dock and selecting quit or if I select Photoshop from the top menu and choose "quit photoshop" from the drop down.Using an iMac w/OSX 10.7.3 and PS CS4 11.0.2
View 5 Replies
View Related
May 3, 2005
find new brushes? Isn't it great when you actually get them installed? Isn't it also great when you are worried about how to get back to default brushes when you're done using the new ones? lol Yeah, I'm still new to the Photoshop thing, and still have a lot to figure out. So, can anyone tell me how to use the new brushes I've downloaded, and also how to get back to the default brushes?
View 5 Replies
View Related
Nov 30, 2012
I want to create an i part which derives its length and width from pairs of snapped points in the assembly. These can be any two points not necessarily existing properties of any part.
My new part would then calculate its actual dims from these measurements. Can this be done in ilogic and how?
View 1 Replies
View Related
Oct 1, 2012
I just had to replace my desktop computer, reinstalled AutoCad, set it up using a saved profile, everything was working fine until this morning when I came in and most of my buttons on the toolbars return "Unknown Command". Now even when I type in the command on the command line it doesn't recognize the commands. ie _layfrz Unknown command "LAYFRZ) I've gone in and "repaired" the program, shut down the computer for a full restart, to no avail.
View 3 Replies
View Related
Jul 18, 2012
I use the "view" tab to create a half section view of an assembly. This works fine, but if I try to measure anything, move or select a component, or export image to a .jpg then it automatically returns back to "end section view" mode.
Without the ability to operate in a section view the it is impossible to constrain components that are placed deep inside of other components. This make this view function useless except for just looking at it on the screen. This worked in 2012 and will not in 2013. How do I correct this?
View 9 Replies
View Related
Apr 5, 2012
I have a layer that contains two clipping groups (groups with a clip mask and other art). When I call layer.groupItems it returns an empty array. When I call layer.layers it returns the two clipping groups. I need to know if these layers are clipping groups, but if they are coming back as layers how can I figure that out?
View 8 Replies
View Related
Mar 29, 2013
In the menu under File there is a command "Close and Go to Bridge" Is there a way to do something similar for returning to Lightroom after a "Save"?
View 1 Replies
View Related
Aug 22, 2013
Why do the two User Parameters in the picture return different Nominal Values? Apron_Length equation is 36" so why does "Slats" Nominal Value come out as 26?
View 1 Replies
View Related
Apr 8, 2013
After upgrading to LR 4.4 the publish service to Facebook semms to not work anymore.
I'm publishing from the new LR 4.4 to Facebook. I create a new Collection in LR 4.4, enters a Album name and presses the Create button. I see that the Album is created Ok on my Facebook account Then I add some pictures, and executes 'Publish now' After a minute, I gets the message the the 'Upload failed and no returning string was received from Facebook'.
View 2 Replies
View Related
Feb 14, 2013
I'm attempting to do a simple calc in the iLogic code I'm putting together.
The correct answer for the equation is 155 N But the iLogic code is returning 0.000155 N
View 1 Replies
View Related
Apr 16, 2013
When I edit a photo in Photoshop from Lightroom 4 and save it back to Lightroom, the photo ends up somewhere else in the folder than it's original location. This is a hassle as my folders can have hundreds of photos. Is there a setting that will place the file back to where it came from?
View 4 Replies
View Related
May 27, 2013
I have gone through the process of hitting alt/option when in develop to reset default settings in develop to no avail as the images keep being altered whether you are simply viewing in All photos in library module or a single image in develop .
View 14 Replies
View Related
Dec 6, 2011
Is there a way to automate repetitive actions such as file size and file saving to the same folder?
View 4 Replies
View Related
Dec 29, 2012
today i downloaded gimp 2.8.2 for windows 8, but when i tried to run the installer it downloads halfway and then displays an error message.
it says something in the style of: An error occurred when trying to copy a file. The source file is corrupted.
View 7 Replies
View Related
Sep 28, 2011
I am wondering if there is a way to put the old save method back into the new gimp 2.7.3. I would like to be able to export to a new file format and automatically be using that file instead of the original file that I have just opened. If there is a plugin like this that would be great.
View 2 Replies
View Related
Jan 31, 2012
Is there any way GIMP can batch or copy metadata from one file to other file(s)? Specifically, a list of keywords from one image to other images that would use the same keywords.
View 1 Replies
View Related
Jan 23, 2013
I will do absolutely ANYTHING to restore this picture. I've been working on it for hours. I thought I learned my lesson from working for hours and not saving, but apparently my lesson might now be to save in 8 places while working.
I was working on a drawing, saving as I went, and my laptop shut off unexpected as I was saving. I thought it saved before it shut off, but when I came back on, it wouldn't open the xcf file. The preview still shows up, and the file is still 1.37MB. Is there ANY way of redeeming my drawing? Any other programs I could open it in or way to fix it?
View 3 Replies
View Related
Jan 24, 2012
When I have my xcf file open, how can I import an image into it?
View 10 Replies
View Related
Oct 25, 2012
I'm new to GIMP and am very stuck just trying to save a GIH file. GIMP only allows saving XCF files, but the documenation says to use the "SAVE AS" command and then a new dialog box is suppose to appear.
View 2 Replies
View Related
Jul 13, 2012
I am using Gimp 2.8, but when I try to import a .pal file, I get a message that says "unknown type of palette file." What's going on?
View 6 Replies
View Related
Oct 24, 2013
I'm trying to create a bmp file from my xcf file (Gimp OSX 2.8.4). I do this by exporting it and choosing bmp as the file extension. When I look a the new image in Mac Preview, it looks OK. The image displays properly and the file type shows "Windows bitmap image" as its kind. All seems well...
However, when I try to use this file in OpenGL, it renders in green (its an image of natural wood). So what's up? I go to the command line and type "file wood.bmp" and the response is "wood.bmp: data". It should say "wood.bmp: PC bitmap, Windows 3.x format, 128 x 128 x 12" (or something similar).
Somehow this file has not been created quite correctly.
View 3 Replies
View Related
Jan 19, 2012
I'm in need to be able to add a border around a PNG graphic, detail as follows:
1. Graphic is rectangular w/transparent background
2. Need to add a border around to match colour of graphic, &
3. (this is where I've hit the wall) The graphic isn't centred within the edges of the graphic "frame", ie: there's the pic part of the logo with text beneath, the text is closer to one edge of the "frame" than the other.
That item 3 above is the problem--otherwise it seems I could easily use the Filters-->Decor-->Add Border filter.
after the PNGs, I have WMF, EPS & TIFF formats waiting for the same.
View 4 Replies
View Related
Jul 15, 2013
I have a PSD which has a layer with a path (vector) on it. In Photoshop this can be manipulated as a path/vector. In GIMP it is just treated as a bitmap. I can see how I can draw new paths, but it doesn't seem to be recognizing the imported path. Is there something I need to do to make it recognize the paths?
I'm using GIMP 2.8.6
View 1 Replies
View Related
Mar 17, 2011
I was wondering if there was a way to create several different pages in one GIMP file. I am trying to create a magazine (for work) and I'd like to be able to keep each page in one file. That way I'd be able to save it all together and use my PDF printer to convert the file when I'm done.
Is this possible? I know I can do it in Microsoft Publisher, but I'd rather use GIMP for this project.
View 3 Replies
View Related
Jun 10, 2012
I've just installed the Gimp 2.8.0 with Windows 7 after breaking up with Photoshop over crashing issues.
One thing P/s did have going for it, there was a plugin you could install to save any image format as a .ico (Windows icon) file.
Despite what I've done from online tuts etc, I can't get the Gimp to save as a .ico file. (The file types in which to save seem very few).
View 3 Replies
View Related
Apr 16, 2013
When I export "most' of my projects, I've extracted the backgrounds out of them...they transfer "extremely" sharp to my assigned folder. But every now and then, no matter how many times you try to "re" export it, the picture quality is less sharp than I desire. And in this case, it is an image copied from the same page, as other items I've extracted from a magazine, and they clean up and export fine..this one doesn't.
These are black and white pictures, which I am coloring with Gimp, and then transferring to a folder on my computer. Is there anything I can do to "sharpen" the image before I send it. As the picture sets on Gimp right now (with background extracted/and colored) it looks "perfect". Once I export it, it gets slightly distorted?
View 3 Replies
View Related
Jun 15, 2012
I'm having a problem loading a 5.5GB PSD file. it's generated from Lightwave a 3D software but every time i try to load it i get the following message:
Error loading PSD file: Unsupported compression mode: 58596
i've done this before and opened 3 and even 4gb files and never had a problem do you know if there is a cap on file size?
View 1 Replies
View Related