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'.




___
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

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 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

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 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] 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 you told us what exactly does not work.


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 of images with gimp plugin

2008-05-07 Thread David Hodson
Owen wrote:

 > peter kostov wrote:
>>I have a dozen of images that I will to edit with GIMP using the
>>Resynthezise plug-in (plug-in-resynthesizer - ). 

> Search Google for "Dave's batch processor"

DBP won't help - it does a bunch of common operations, but not Resynthesize.

-- 
David Hodson  --  this night wounds time
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] batch processing of images with gimp plugin

2008-05-07 Thread Owen
> Hi,
>
> I have a dozen of images that I will to edit with GIMP using the
> Resynthezise plug-in (plug-in-resynthesizer - ). I want to do this in
> non-interactive mode. I tried to write a gimp script, but as this is my
> first contact with this scripting language, I had no success.
> Basically I tried to modify a script found in the tutorials section of
> the gimp site, but got an 'execution error' message. I am not sure how
> to pass arguments and so on...
>
> I will be glad if anyone can help me with this :)



Search Google for "Dave's batch processor"



Owen

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch processing of files

2002-06-24 Thread Geoffrey



Joel wrote:
> On Monday 24 June 2002 02:47 am, G E Scott Knauss wrote:
> 
>>Hello,
>>  Been banging my head against the desk for a few days now trying to
>>write a scrpt-fu to resize the enourmous images my 5 MegaPixel Camera
>>generates into something smaller and more bandwidth friendly. Yes, I
>>could do them individually, but I'm thinking I'll get tired of that
>>after a while. Any ideas.
>>
> 
> How do you get the images off the camera? Can you mount the camera's storage 
> media as a drive under Linux (with USB or firewire), just copying images to 
> your hard drive, or do you use something like gphoto to get them?

My Sony camcorder has both usb and firewire.  I've not played with the 
firewire yet, but I have successfully mounted the memory stick media, it 
is recognized as a scsi device.

> 
> --Joel
> 
> ___
> Gimp-user mailing list
> [EMAIL PROTECTED]
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
> 
> 
> 


-- 
Until later: Geoffrey   [EMAIL PROTECTED]

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Batch processing of files

2002-06-24 Thread G E Scott Knauss

Using a PC Card Reader for the memory stick. Mounts as an ide drive.
Works like a charm. Just don't umount the drive before you eject the
card. Locks up the machine that way  

As several people already pointed out, this problem is much easier to
solve using ImageMagick. Thanks to Geoffrey who sent me a script that
got me started in the right direction. (before that I was totally lost
as to how ImageMagick even functioned.)
Thanks all !

On Mon, 2002-06-24 at 19:03, Joel wrote:
> On Monday 24 June 2002 02:47 am, G E Scott Knauss wrote:
> > Hello,
> > Been banging my head against the desk for a few days now trying to
> > write a scrpt-fu to resize the enourmous images my 5 MegaPixel Camera
> > generates into something smaller and more bandwidth friendly. Yes, I
> > could do them individually, but I'm thinking I'll get tired of that
> > after a while. Any ideas.
> 
> How do you get the images off the camera? Can you mount the camera's storage 
> media as a drive under Linux (with USB or firewire), just copying images to 
> your hard drive, or do you use something like gphoto to get them?
> 
> --Joel
> 
> 


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Batch processing of files

2002-06-24 Thread Joel

On Monday 24 June 2002 02:47 am, G E Scott Knauss wrote:
> Hello,
>   Been banging my head against the desk for a few days now trying to
> write a scrpt-fu to resize the enourmous images my 5 MegaPixel Camera
> generates into something smaller and more bandwidth friendly. Yes, I
> could do them individually, but I'm thinking I'll get tired of that
> after a while. Any ideas.

How do you get the images off the camera? Can you mount the camera's storage 
media as a drive under Linux (with USB or firewire), just copying images to 
your hard drive, or do you use something like gphoto to get them?

--Joel

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Batch processing of files

2002-06-24 Thread John Culleton

On Monday 24 June 2002 08:47 am, G E Scott Knauss wrote:
> Hello,
>   Been banging my head against the desk for a few days now trying to
> write a scrpt-fu to resize the enourmous images my 5 MegaPixel Camera
> generates into something smaller and more bandwidth friendly. Yes, I
> could do them individually, but I'm thinking I'll get tired of that
> after a while. Any ideas.
>
>
>
ImageMagick

John Culleton


__
D O T E A S Y - "Join the web hosting revolution!"
 http://www.doteasy.com
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Batch processing of files

2002-06-24 Thread Geoffrey

G E Scott Knauss wrote:
> Hello,
>   Been banging my head against the desk for a few days now trying to
> write a scrpt-fu to resize the enourmous images my 5 MegaPixel Camera
> generates into something smaller and more bandwidth friendly. Yes, I
> could do them individually, but I'm thinking I'll get tired of that
> after a while. Any ideas. 

imagemagick

PERCENT_OF_ORGINAL=20

for fn in $( 
> 
> 
> ___
> Gimp-user mailing list
> [EMAIL PROTECTED]
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
> 
> 
> 


-- 
Until later: Geoffrey   [EMAIL PROTECTED]

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Batch processing?

2002-06-22 Thread Kelly Martin

You might find that ImageMagick fits your needs better.

Kelly
- Original Message - 
From: "Adahma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 22, 2002 5:07 PM
Subject: [Gimp-user] Batch processing?


> Every time I dump my digital camera, I scale and re-save many .jpg
> files with the gimp.  Is there anyway to do this in a batch mode, or
> is there a better tool for this?
> 
> Thanks,
> jdk
> 
> ___
> Gimp-user mailing list
> [EMAIL PROTECTED]
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
> 
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user