Page 1 of 1

Batch convert xcf files to jpg

Posted: 2016-11-21T07:57:30-07:00
by garvind25
Hi there,

I am a new user of Imagemagick. I edited about 150 files in GIMP in xcf format. Now I require converting these files to standard jpg format. Is there any way I can do the same for all the files in one go? If so what is the command string pls. I have 64 bit Ubuntu 15.10 installed at my end.

Thanks,
Arvind Gupta.

Re: Batch convert xcf files to jpg

Posted: 2016-11-21T08:53:54-07:00
by GeeMack
garvind25 wrote:Now I require converting these [xcf] files to standard jpg format. Is there any way I can do the same for all the files in one go?
Depending on which version of ImageMagick you're using it could be as simple as opening a command shell, navigating to the directory that contains your XCF files, and entering this command at the prompt...

Code: Select all

mogrify -format jpg *.xcf