2012年2月16日星期四

Shrink eps size under Linux

When generate some pdf files using Inksape, sometimes it ends up a large file. However, you can follow some steps to reduce the size:
1. gs -r300 -dEPSCrop -dTextAlphaBits=4 -sDEVICE=png16m -sOutputFile=fig-reduce.pdf -dBATCH -dNOPAUSE fig.eps
2. convert fig-reduce.pdf fig-new.eps
3. import the fig-new.eps to Inkscape again, and save as fig-new.pdf.

The final file will be much smaller than the original one.

没有评论:

发表评论