Batch convert xcf files to jpg

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
garvind25
Posts: 1
Joined: 2016-11-21T07:44:24-07:00
Authentication code: 1151

Batch convert xcf files to jpg

Post 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.
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Re: Batch convert xcf files to jpg

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