Re: [Gimp-user] Batch processing resizing images

2009-08-18 Thread saulgoode
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'. __

Re: [Gimp-user] Batch processing resizing images

2009-08-18 Thread Sven Neumann
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 al

Re: [Gimp-user] Batch processing resizing images

2009-08-18 Thread Eric van Oorschot
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

Re: [Gimp-user] Batch processing resizing images

2009-08-17 Thread Sven Neumann
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 yo

[Gimp-user] Batch processing resizing images

2009-08-17 Thread Eric van Oorschot
Probably an old question, but since I am new to this list I just post it. 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. I have included the modi