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

using GIMP in batch mode

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.

using GIMP in batch mode Luc NOVALES 29 Aug 16:57
using GIMP in batch mode Yanil 29 Aug 17:12
using GIMP in batch mode Yanil 29 Aug 17:24
Luc NOVALES
2002-08-29 16:57:11 UTC (over 21 years ago)

using GIMP in batch mode

I am a newbee on this list, and with gimp 1.2.1 on Solaris 8. I have to convert a lot of colors images in greyscale, in another format, and ImageMagick have problems to open the original image (due to the size ?).
I would like to use GIMP procced it in batch mode. I know the sequence to apply in manual mode, but I can't make it in batch. I prefer use command line, rather than script or perl-fu, if it is possible

I didn't found any solution on this forum, in the user manual and at

Where can I find others exemples to understand the good way ?

Thank you for your help. Luc.

Yanil
2002-08-29 17:12:18 UTC (over 21 years ago)

using GIMP in batch mode

I ussually convert files in xbm format to png format using this command:

gimp -i -b '(file-png-save 1 (car (file-xbm-load 1 "file.xbm" "file.xbm")) (car (gimp-image-active-drawable (car (file-xbm-load 1 "file.xbm" "file.xbm)))) file.png file.png 0 9 0 0 0 0 0))' '(gimp-quit 0)'

This executes two batches (each one between '): "file-png- save" to convert the file , and "gimp-quit 0" to exit gimp. See the specifications of the scripts to understand that command do, and ask me if you don't understand anything

Yanil.

P.S.: I'm sorry about my english, but I'm spanish speaker.

I am a newbee on this list, and with gimp 1.2.1 on Solaris

8.

I have to convert a lot of colors images in greyscale, in

another

format, and ImageMagick have problems to open the

original image (due to

the size ?).
I would like to use GIMP procced it in batch mode. I know

the sequence

to apply in manual mode, but I can't make it in batch. I

prefer use

command line, rather than script or perl-fu, if it is possible

I didn't found any solution on this forum, in the user

manual and at

Where can I find others exemples to understand the good

way ?

Thank you for your help.
Luc.

Yanil
2002-08-29 17:24:21 UTC (over 21 years ago)

using GIMP in batch mode

There is some sintax error in my message. The correct command is:

gimp -i -b '(file-png-save 1 (car (file-xbm-load 1 "file.xbm" "file.xbm")) (car (gimp-image-active-drawable (car (file-xbm-load
1 "file.xbm" "file.xbm")))) "file.png" "file.png" 0 9 0 0 0 0 0))' '(gimp-quit 0)'

I ussually convert files in xbm format to png format using this command:

gimp -i -b '(file-png-save 1 (car (file-xbm-load 1 "file.xbm" "file.xbm")) (car (gimp-image-active-drawable (car (file-xbm-load 1 "file.xbm" "file.xbm)))) file.png file.png 0 9 0 0 0 0 0))' '(gimp-quit 0)'

This executes two batches (each one between '): "file-png- save" to convert the file , and "gimp-quit 0" to exit gimp.

See

the specifications of the scripts to understand that

command

do, and ask me if you don't understand anything

Yanil.

P.S.: I'm sorry about my english, but I'm spanish speaker.

I am a newbee on this list, and with gimp 1.2.1 on

Solaris

8.

I have to convert a lot of colors images in greyscale, in

another

format, and ImageMagick have problems to open the

original image (due to

the size ?).
I would like to use GIMP procced it in batch mode. I know

the sequence

to apply in manual mode, but I can't make it in batch. I

prefer use

command line, rather than script or perl-fu, if it is

possible

I didn't found any solution on this forum, in the user

manual and at

Where can I find others exemples to understand the

good

way ?

Thank you for your help.
Luc.