2013-02-25 135 views
3

我想在圖像中EMF格式轉換爲紅帽企業Linux服務器上使用ImageMagick PNG釋放5.5(Tikanga),但我遇到了以下錯誤:ImageMagick的Linux上EMF轉換成PNG

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.

我該如何解決這個問題?

回答

8

安裝LibreOffice的和您的EMF文件所在的文件夾上運行此命令:

libreoffice --headless --convert-to png *.emf 
2

另一種方法是使用Inkscape中:

inkscape -e file.png source.emf 

請參閱inkscape --help瞭解更多導出選項(導出區域,dpi,ima ge分辨率,背景顏色等)。

+1

不是imagemagick,但它的工作原理。也可以做svg,(e)ps,pdf和LaTeX。 – AstroFloyd 2017-01-23 10:22:02

+0

不,它不接受圖元文件作爲輸入 – 2017-04-25 12:30:32

+0

儘管有@ ArnaudWeil的評論,但這對我仍然有效。 – 2017-07-17 04:22:54

相關問題