in not-too-old versions of Imagemagick, such as:

/usr/bin/convert -version
Version: ImageMagick 6.0.7 02/20/06 Q16

this did a fine job flattening XCF files:

/usr/bin/convert -flatten -quality 95 $i ${i/xcf/jpg} ; done

but in new imagemagick versions, flatten is buggy.

however, xcf2jpg, a gimp script that can be used on the command line,
works great:

http://www.nodigas.com.ar/xcf2jpg_un_conversor_de_xcf_a_jpg

best,
mike



On 4/22/06, Sven Neumann <[EMAIL PROTECTED]> wrote:
Hi,

"steven woody" <[EMAIL PROTECTED]> writes:

> :-(  the same doesn't work for me. and, the 'display' can only display
> one layer of the image too.  what's the cause ?  the original three
> layers in the image was got from the 'decomposite' command of GIMP.

ImageMagick simply doesn't implement all features of XCF since XCF is
the native file format of GIMP and only GIMP supports it completely.
If you want to flatten an XCF image or convert it to a different
format, use GIMP for it.

If you need to do this from the command-line, there are a couple of
XCF to PNG converter scripts using the GIMP batch mode. Try to google
for xcf2png.


Sven


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to