mogrify xcf to png

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
rylander
Posts: 9
Joined: 2009-11-30T02:37:18-07:00
Authentication code: 8675309

mogrify xcf to png

Post by rylander »

I've got a convert command that works:

Code: Select all

convert -flatten -type Grayscale input.xcf output.png
Now I want to batch convert a lot of xcf's so trying to use mogrify but can't get it to work.

Code: Select all

mogrify -flatten -type Grayscale -format png -verbose *.xcf
Results in
"mogrify: unrecognized option `-flatten'."

So how can I flatten layers with mogrify?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: mogrify xcf to png

Post by snibgo »

The command works for me, on IM 6.6.0-8 on Windows 7.

What version IM are you on? If old, an upgrade might do the trick.
snibgo's IM pages: im.snibgo.com
Post Reply