convert: unbalanced graphic context push-pop `graphic-contex
Posted: 2010-07-29T02:00:42-07:00
Hello guys,
I am trying to convert an SVG to JPG through the command line and I am seeing this warning message:
convert: unbalanced graphic context push-pop `graphic-context' @ draw.c/DrawImage/2247.
The image result is not good, it looks stretched and only the top left corner of the image is printed on the canvas.
The command I use is: convert Test_2.svg Test_2_production.jpg
I am on linux Ubuntu 9.10 32-bit Karmic Canonical.
My imagemagick version is ImageMagick 6.5.1-0 2009-08-27 Q16
My SVG file is as follows:
Anybody ever came across this problem? Could any of you perhaps see anything wrong with what I did?
Thank you so much for the help, reply and feedback.
Regards,
Harman
I am trying to convert an SVG to JPG through the command line and I am seeing this warning message:
convert: unbalanced graphic context push-pop `graphic-context' @ draw.c/DrawImage/2247.
The image result is not good, it looks stretched and only the top left corner of the image is printed on the canvas.
The command I use is: convert Test_2.svg Test_2_production.jpg
I am on linux Ubuntu 9.10 32-bit Karmic Canonical.
My imagemagick version is ImageMagick 6.5.1-0 2009-08-27 Q16
My SVG file is as follows:
Code: Select all
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="4in" height="3in" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<desc>This graphic links to an external image
</desc>
<image x="200" y="200" width="100px" height="100px"
xlink:href="http://s3.amazonaws.com/xlsuite_production/assets/2514864/slide2.png">
<title>My image</title>
</image>
</svg>
Thank you so much for the help, reply and feedback.
Regards,
Harman