F**p 发帖数: 1046 | 1 问:
好多EPS的图片,如果batch convert成JPEG呢?发现有人推荐imagemagick(IM),发现用:
》》c:\ convert a.eps a.jpg
转换以后得到的a.jpg没有转换的很好,图片都在一页的底部。
答:
用IM可以轻松实现这个目的:首先把EPS转换成PDF:
》》c:\ epstopdf a.eps
然后有一个a.pdf产生,然后:
》》c:\convert -density 100 a.pdf a.jpg
就会发现一个a.jpg产生在相同的目录下面。density越高,resolution越高。 | l********r 发帖数: 175 | 2 In fact, one easy way to do that is to convert .eps to .jpg directly. It
could be done like following with good resolution:
convert -density 150x150 *.eps *.jpg
the higher the number, the higher the resolution. I found 150 is good
enough for me. |
|