RSS/Atom feed Twitter
Site is read-only, email is disabled

[newbie] easy exports

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

[newbie] easy exports Kurt Guenther 28 Apr 18:06
  [newbie] easy exports Carol Spears 28 Apr 20:49
  [newbie] easy exports Sven Neumann 28 Apr 21:26
Kurt Guenther
2005-04-28 18:06:18 UTC (almost 19 years ago)

[newbie] easy exports

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

Carol Spears
2005-04-28 20:49:52 UTC (almost 19 years ago)

[newbie] easy exports

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

Sven Neumann
2005-04-28 21:26:29 UTC (almost 19 years ago)

[newbie] easy exports

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