6
votes

I am trying to convert an image in EMF format to PNG using Imagemagick on Red Hat Enterprise Linux Server release 5.5 (Tikanga), but I am running into the following error:

convert: no decode delegate for this image format `thumbnail.emf' @ error/constitute.c/ReadImage/550. convert: no images defined `1.png' @ error/convert.c/ConvertImageCommand/3068.

How might I fix this?

3

3 Answers

5
votes

According to this page: http://www.imagemagick.org/script/formats.php

EMF R Microsoft Enhanced Metafile (32-bit) Only available under Microsoft Windows.

14
votes

Install libreoffice and run this command on the folder where your emf files are located:

libreoffice --headless --convert-to png *.emf
6
votes

Another way is to use inkscape:

inkscape -e file.png source.emf

See inkscape --help for more export options (area to export, dpi, image resolution, background color etc).