Hello,
I want to resize a svg with the command line. Is-it possible? i tried inkscape -l new.svg -w 500 -h 500 source.svg
And i want do the same thing with the eps export ?
Thanks you for your help.
Best regards
Nico
Le dimanche 28 mai 2006 à 18:30 +0200, nboire a écrit :
Hello,
Hi Nico
I want to resize a svg with the command line. Is-it possible? i tried inkscape -l new.svg -w 500 -h 500 source.svg
The answer is yes if you export to PNG and in this case is (see man page) : inkscape new.svg --export-png=source.png -w500 -h500
and no if you want to convert from svg to svg, in this case, you have to open the file with Inkscape (GUI), and modify the drawing (transform the drawing, then resize the page).
And i want do the same thing with the eps export ?
See just above, and after this operation, export to eps.
Regards,
matiphas
Hi Matiphas,
Thanks for your answer! I known the png export with the resize, i used it. But i haven't interface, i work on server in command line only.
Any suggestion?
Matiphas a écrit :
Le dimanche 28 mai 2006 à 18:30 +0200, nboire a écrit :
Hello,
Hi Nico
I want to resize a svg with the command line. Is-it possible? i tried inkscape -l new.svg -w 500 -h 500 source.svg
The answer is yes if you export to PNG and in this case is (see man page) : inkscape new.svg --export-png=source.png -w500 -h500
and no if you want to convert from svg to svg, in this case, you have to open the file with Inkscape (GUI), and modify the drawing (transform the drawing, then resize the page).
And i want do the same thing with the eps export ?
See just above, and after this operation, export to eps.
Regards,
matiphas
All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid%107521&bid$8729&dat%12... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Le dimanche 28 mai 2006 à 21:07 +0200, nboire a écrit :
Hi Matiphas,
Thanks for your answer! I known the png export with the resize, i used it. But i haven't interface, i work on server in command line only.
Any suggestion?
Edit the svg file with a text editor...
Regards,
matiphas
On Sun, May 28, 2006 at 09:59:00PM +0200, Matiphas wrote:
Le dimanche 28 mai 2006 ?? 21:07 +0200, nboire a ??crit :
Hi Matiphas,
Thanks for your answer! I known the png export with the resize, i used it. But i haven't interface, i work on server in command line only.
Any suggestion?
Edit the svg file with a text editor...
In the future there will be a capability in Inkscape to do this sorts of changes from the commandline using inkscape, but that is a ways off. (The features to keep an eye on if you are interested in tracking this development are: 'DOM Interface' -> 'Perl/Python DOM bindings' -> 'Internal scripting support' -> 'Running scripts from inkscape commandline'. Each of those needs to be done in order, so you see it will take some time.)
Bryce
participants (3)
-
Bryce Harrington
-
Matiphas
-
nboire