remove the link jpg

Post questions on how to use or achieve an effect in Inkscape.
el_selvaje
Posts: 2
Joined: Thu Nov 01, 2012 3:04 am

remove the link jpg

Postby el_selvaje » Sun Nov 18, 2012 2:32 am

Hi,
i have a several svg file that i nead to trasform in .eps in order to insert them in word/openOffice.
The svg is consited of linked jpg + a drowing vector on top of it.
I'm interesting to transform only the drowing vector and remove the linked jpg.

I'm performing the operation by
for file in *.svg ; do filename=`basename $file .svg` ; inkscape -z -T -E $filename.eps $file ; done

During this operation i get
** (inkscape:17775): WARNING **: Unable to open linked file: /C:/Users/ADOLFO/Desktop/Impasto/At1.jpg
So my question is how i can remove in comand line the .jpg link in order to get only the vector?

thanks in advance
Ciao
el_selvaje

Jelle
Posts: 78
Joined: Sat Nov 06, 2010 11:25 am

Re: remove the link jpg

Postby Jelle » Thu Nov 22, 2012 3:02 am

How about using Notepad++ and open the files in question. Then do a find and replace with it on all open documents with a regular expression on the <image> tag.

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

Re: remove the link jpg

Postby brynn » Thu Nov 22, 2012 4:19 am

Ah yes, Jelle, another question that I didn't answer, because I didn't know the whole answer. ;)

All I could suggest was deleting the imported, linked rasters, before starting the EPS conversion. But I don't have a clue how to do it from command line.


Return to “Help with using Inkscape”