Convert xml file to image
Posted: 2010-08-24T05:25:47-07:00
Hi,
I'm trying to convert xml file to image. But I'm getting the following errors:
convert -size 640x480 TestingConversion.xml testxml2.png
convert: no decode delegate for this image format `TestingConversion.xml' @ error/svg.c/ReadSVGImage/2815.
convert: missing an image filename `testxml2.png' @ error/convert.c/ConvertImageCommand/2941.
My IM is configured as follows so it does look like that xml is supported. But it kept saying that no decode delegate found.
Delegate Configuration:
BZLIB --with-bzlib=yes yes
Autotrace --with-autotrace=no no
Dejavu fonts --with-dejavu-font-dir=default none
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.71)
Ghostscript fonts --with-gs-font-dir=default /usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes yes
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes yes
X11 --with-x= no
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
And,
LIBS = -lMagickCore -ltiff -lfreetype -ljpeg -lpng -lwmflite -lbz2 -pthread -L/usr/local/lib -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lm -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lpthread
Thanks a lot!
I'm trying to convert xml file to image. But I'm getting the following errors:
convert -size 640x480 TestingConversion.xml testxml2.png
convert: no decode delegate for this image format `TestingConversion.xml' @ error/svg.c/ReadSVGImage/2815.
convert: missing an image filename `testxml2.png' @ error/convert.c/ConvertImageCommand/2941.
My IM is configured as follows so it does look like that xml is supported. But it kept saying that no decode delegate found.
Delegate Configuration:
BZLIB --with-bzlib=yes yes
Autotrace --with-autotrace=no no
Dejavu fonts --with-dejavu-font-dir=default none
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.71)
Ghostscript fonts --with-gs-font-dir=default /usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes yes
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes yes
X11 --with-x= no
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
And,
LIBS = -lMagickCore -ltiff -lfreetype -ljpeg -lpng -lwmflite -lbz2 -pthread -L/usr/local/lib -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lm -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lpthread
Thanks a lot!