[Gimp-user] [newbie] easy exports

2005-04-28 Thread Kurt Guenther

Is there an easy way to do exports from the xcf format to yield jpgs?  
I'm currently using File - Save a Copy, but labor intensive for every
change.   (Command line is fine, so I can script it.)

--Kurt

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] [newbie] easy exports

2005-04-28 Thread Carol Spears
On Thu, Apr 28, 2005 at 12:06:18PM -0400, Kurt Guenther wrote:
 
 Is there an easy way to do exports from the xcf format to yield jpgs?  
 I'm currently using File - Save a Copy, but labor intensive for every
 change.   (Command line is fine, so I can script it.)
 
i have some python scripts and pieces of python scripts that do this.

http://carol.gimp.org/gimp2/resources/python/comment.html is a script
piece that saves jpegs.  if you use this, i would (in addition) flatten
the image (gimp_image_flatten or pdb.gimp_image_flatten(image) for a
python script).

the script portion is actually used in these two gallery scripts:
http://carol.gimp.org/gimp2/web/python/gallery-simple.py
http://carol.gimp.org/gimp2/web/python/gallery-blurbed.py

i dont know how to do this from the command line. it should be similar
though.

you can find what the gimp can do in a script from Xtns --Procedure
Browser. or if you are using script-fu or python, there are script
consoles.  

have fun with TheGIMP, it is cool.

carol

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] [newbie] easy exports

2005-04-28 Thread Sven Neumann
Kurt Guenther [EMAIL PROTECTED] writes:

 Is there an easy way to do exports from the xcf format to yield jpgs?  
 I'm currently using File - Save a Copy, but labor intensive for every
 change.   (Command line is fine, so I can script it.)


gimp -i -b (let* ((image (car (gimp-file-load 1 foo.xcf  
(gimp-file-save 1 image (car (gimp-image-merge-visible-layers image 0)) 
foo.jpg ) (gimp-quit 0))


Sven
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user