Convert to eps in command line without embed or link prompt
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
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.
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
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.
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?
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
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