Re: [Gimp-user] Batch processing resizing images
Quoting Eric van Oorschot : > : > : > (scale min( (/ 1920 width) (/ 1200 height))) > : > : Your invocation of 'min(' is incorrect -- it should be '(min'. This probably results in either 'xsize' or 'ysize' evaluating to "0" and thus a failure of 'gimp-image-scale'. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Batch processing resizing images
Hi, On Tue, 2009-08-18 at 19:34 +0200, Eric van Oorschot wrote: > The calculation of the scale variable works in Scheme using Guile, so > that part of the script should be OK. But now I am stuck. Guile is not the same Scheme dialect than what Script-Fu is using. Did you check that floor is at all supported in Script-Fu? Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Batch processing resizing images
Hi, I run this command from the (linux) commandline: gimp -i -b '(batch-unsharp-mask "*.jpg" 5.0 0.5 0)' -b '(gimp-quit 0)' The response to this command is: batch command experienced an execution error If I comment out the line with 'gimp-image-scale', the batch processing works but off course without scaling. Since the 'let' statement creates local variables I also tried to put the 'gimp-image-scale' line within the braces, but this also results in the same error message. I tried to debug the script using the Scheme command display, but this was also unsuccesfull. The calculation of the scale variable works in Scheme using Guile, so that part of the script should be OK. But now I am stuck. Regards, Eric Sven Neumann wrote: > Hi, > > On Mon, 2009-08-17 at 20:27 +0200, Eric van Oorschot wrote: > >> How do I batch process files in gimp and resize the images while keeping >> the aspect ratio of the original file. I modified the batch processing >> example on the Gimp web pages, but it just doesn't work. > > It would help a lot if you told us what exactly does not work. > > > Sven > > > -- Kind regards / Vriendelijke groeten, Eric van Oorschot Prinsenbeek ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] How to move image when selecting?
Patrick Horgan writes: > If you're trying to use the lasso it's frustrating like that, you have to do > the whole thing in one complex wack. If instead you use the path tool you can (and in another message) > In my link to the selection tutorial I should have given credit to Akkana Peck > whose tutorial it is, and noted that her book: Beginning GIMP: from novice to > professional ROCKS And also she helps people out here all the time and > deserves a lot of credit for being such a good citizen of the net. Thanks! What a nice thing to say. :-) I should probably mention that that LinuxChix class is old (I think it was based on GIMP 2.2) and in 2.6, the Lasso tool is *much* easier to use. You no longer have to select in one go -- you can drag for a while, stop, scroll the view, drag some more. You can also mix freehand dragging with clicking to make line segments, like you would with the Path tool. It's like the best parts of the old Lasso combined with Paths. I never used the old Lasso tool much, because I couldn't zoom in and scroll around while selecting, but in 2.6 I use it quite a lot. If you haven't used the new Lasso because you didn't like the old one, give the new one a try! (Unfortunately for me the Lasso was changed to late to make it in to the second edition of "Beginning GIMP" except as an appendix. The perils of writing books based on actively developed projects ...) ...Akkana ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] How to move image when selecting?
> In my link to the selection tutorial I should have given credit to Akkana > Peck whose tutorial it is, and noted that her book: Beginning GIMP: from > novice to professional ROCKS And also she helps people out here all the > time and deserves a lot of credit for being such a good citizen of the net. > I have heard of that book. When / if I decide to really learn the Gimp as it deserves to be learned (university and family schedule supporting) then I will definitely look for a copy. Thank you for the suggestion. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] How to move image when selecting?
> There's always only one selection. Creating a selection will replace the > current one. That has nothing to do with panning. If you want to add to > an existing selection, then choose the Add mode from the tool options of > the selection tool. Or use the modifier keys (as hinted in the > status-bar). > > > If you're trying to use the lasso it's frustrating like that, you have to do > the whole thing in one complex wack. If instead you use the path tool you > can keep adding the points to the path, edit them when you make a mistake, > scroll the image around all you want, and then when you have it perfect > convert the path the a selection. I think it's MUCH easier than the lasso. > Here's a great tutorial on this, > http://mailman.linuxchix.org/pipermail/courses/2005-March/001821.html. > Thank you, Patrick, I will read that tutorial this evening. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] How to move image when selecting?
> I have a space-bar on my keyboard but nothing like MMB or LMB. What do these > stand for? > Middle Mouse Button and Left Mouse Button. > On the other hand every one of the selection tools has four modes. The second > one is "Add to the present selection": highlighted on my picture of the > rectangular tool attached. The first one and the default is "Replace the > present selection". I suggest you try the second mode. > Thank you Andre, I will try that this evening. It looks to be just what I need. > PS: my Gimp is now 2.6.7 and talks Dutch. > My Dutch is weaker than my English, and Gimp in my native language is horrible! (Many UI problems) -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user