bwhiti
July 1st, 2008, 11:27 AM
Hi
Not sure if this is the right place but I am trying to crop an svg image to a small size and save as a new svg image to serve in a pdf document.
I have imagemagick from the ubuntu repository but everytime I run the command I get this error.
convert: no image vector graphics 'new.svg'
The commad I am using at present for testing before I place into a server side script is:
convert old.svg -crop 100x100+100+100 new.svg
If I run convert and transform the svg to png everything runs fine.
Can anybody please help as this really has to be a svg after cropping to retain the quality when zooming the pdf.
Thanks
Barry
Not sure if this is the right place but I am trying to crop an svg image to a small size and save as a new svg image to serve in a pdf document.
I have imagemagick from the ubuntu repository but everytime I run the command I get this error.
convert: no image vector graphics 'new.svg'
The commad I am using at present for testing before I place into a server side script is:
convert old.svg -crop 100x100+100+100 new.svg
If I run convert and transform the svg to png everything runs fine.
Can anybody please help as this really has to be a svg after cropping to retain the quality when zooming the pdf.
Thanks
Barry