Command line embedding

Post questions on how to use or achieve an effect in Inkscape.
orpetil
Posts: 1
Joined: Mon Mar 11, 2013 10:43 pm

Command line embedding

Postby orpetil » Mon Mar 11, 2013 10:47 pm

Hi Inscape experts :-)

I am a matlab user, and I export figures to .svg using plot2svg. However, this creates .svg files with non-embedded raster images. I really want the rasters to be embedded, as these files will get moved around a lot. So, I was looking for a command line way of doing this, having used plot2svg. I tried this:

inkscape -z -f {myfilename.svg} --org.ekips.filter.embedimage --FileSave

.. but that didn't seem to embed the rasters.

Can anyone point out what I might be doing wrong, or suggest an alternative command line method?

Thanks!

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Command line embedding

Postby brynn » Tue Mar 12, 2013 8:09 am

Image
Welcome to InkscapeForum!

I probably can't be very helpful, since I don't know how to use the command line with Inkscape. But just in case it might help lead you to the solution, Inkscape has an extension which can embed images (Extensions menu > Images > Embed Images).

helpy
Posts: 3
Joined: Tue Sep 14, 2010 6:42 pm

Re: Command line embedding

Postby helpy » Tue Mar 12, 2013 9:57 pm

Hi,

I do this with the following command line:

Code: Select all

Inkscape {SVGFile}  --verb=org.ekips.filter.embedimage.noprefs --verb=FileSave --verb=FileClose

cu,
guido


Return to “Help with using Inkscape”