Convert to eps in command line without embed or link prompt
![](https://secure.gravatar.com/avatar/5ef8ea7b5b5a96da5af6c4aca38e70a1.jpg?s=120&d=mm&r=g)
Hi all,
I'm wondering if is there any command or parameter that I can set on Inkscape to perform a conversion automatically. For example, if you do *inkscape -E image.eps image.jpg*, then a window appears and ask you if you want to embed or link the image. However, I need to do this conversion for a batch of images; and I need an automatic way of setting the option: embed or link. Can you point me in the right direction?
Thanks,
adin
![](https://secure.gravatar.com/avatar/27d5fb4f8bdf834f022d029d3140a2df.jpg?s=120&d=mm&r=g)
On Wednesday 23 February 2011 21:30:36 Adin Ramirez Rivera wrote:
Hi all,
I'm wondering if is there any command or parameter that I can set on Inkscape to perform a conversion automatically. For example, if you do *inkscape -E image.eps image.jpg*, then a window appears and ask you if you want to embed or link the image. However, I need to do this conversion for a batch of images; and I need an automatic way of setting the option: embed or link. Can you point me in the right direction?
Thanks,
adin
Have you considered using ImageMagick instead. Batch conversions are frequently done using that command line tool.
![](https://secure.gravatar.com/avatar/c4f46bb274a563386aeee03c1460f41d.jpg?s=120&d=mm&r=g)
John Culleton <john@...1668...> writes:
Have you considered using ImageMagick instead. Batch conversions are frequently done using that command line tool.
Or eps2png? (Despite the name, it also produces gif and jpg).
http://search.cpan.org/search?query=eps2png&mode=dist
-- Johan
![](https://secure.gravatar.com/avatar/f4eb27cea7255cea4d1ffabf593372e8.jpg?s=120&d=mm&r=g)
Johan Vromans <jvromans@...2328...> writes:
Have you considered using ImageMagick instead. Batch conversions are frequently done using that command line tool.
Or eps2png? (Despite the name, it also produces gif and jpg).
I would use ImageMagick, but a neat trick someone told me in another application asking for confirmation was to pipe a "Y" to the command to answer yes, i.e.
echo "Y"|inkscape -E image.eps image.jpg
Sorry for not trying this, but just using the command as you posted it works for me, but I use old inkscape 0.47.
![](https://secure.gravatar.com/avatar/5ef8ea7b5b5a96da5af6c4aca38e70a1.jpg?s=120&d=mm&r=g)
echo "Y"|inkscape -E image.eps image.jpg
This is not working, I tried to send an enter code to, but that didn't work either. The problem appear in the 0.48 inkscape.
As for the ImageMagick, I think that it creates artifacts when I do the conversions; however, it could be my own perception. I think that inkscape produces better results.
I would check the eps2png.
However, I would like that Inkscape has an option to tell it to embed or link the image when doing the conversions. Do you know, if there is any place to submit a request?
![](https://secure.gravatar.com/avatar/4e07c5146b7a5e3d90e4bac984f8ced3.jpg?s=120&d=mm&r=g)
Adin Ramirez Rivera wrote:
However, I would like that Inkscape has an option to tell it to embed or link the image when doing the conversions. Do you know, if there is any place to submit a request?
yes, you can submit a bug report at : https://bugs.launchpad.net/inkscape I would encourage you to do so, since I believe that this is a relatively newly introduced behaviour for Inkscape.
Alvin Penner
![](https://secure.gravatar.com/avatar/789edbb3a9b9f3f13815d199bfa4c81b.jpg?s=120&d=mm&r=g)
On 25/2/11 03:18, Adin Ramirez Rivera wrote:
However, I would like that Inkscape has an option to tell it to embed or link the image when doing the conversions. Do you know, if there is any place to submit a request?
related reports:
Bug #555234 https://bugs.launchpad.net/inkscape/+bug/555234 [bitmap import] modal dialog destroys workflow
Bug #635373 https://bugs.launchpad.net/inkscape/+bug/635373 Opening PNG in Inkscape shows nonsense "png GDK pixbuf Input" alert
~suv
participants (6)
-
Adin Ramirez Rivera
-
Alvin Penner
-
Johan Vromans
-
John Culleton
-
Johnny
-
~suv