Memory allocation failed with simple svg
Posted: 2009-05-05T06:15:50-07:00
convert: Memory allocation failed `a.svg' @ svg.c/ReadSVGImage/2827.
convert: missing an image filename `a.png' @ convert.c/ConvertImageCommand/2769.
It doesn't take the dynamic size from the "size" option in command line.
Setting arbitrary size file makes rendering possible.
convert: missing an image filename `a.png' @ convert.c/ConvertImageCommand/2769.
It doesn't take the dynamic size from the "size" option in command line.
Setting arbitrary size file makes rendering possible.
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
[b] width="px"
height="px"[/b]
viewBox="0 0 150 100"
preserveAspectRatio="none"
version="1.1"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.45.1"
sodipodi:docname="a.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
sodipodi:docbase="/tmp"><metadata
id="metadata61">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs59" />
<sodipodi:namedview
inkscape:cy="417.84947"
inkscape:cx="305.25953"
inkscape:zoom="0.43415836"
inkscape:window-height="596"
inkscape:window-width="822"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
guidetolerance="10.0"
gridtolerance="10.0"
objecttolerance="10.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:current-layer="svg2" />
</svg>