linux下libreoffice对eps支持不好,再分享一下这个不错的脚本。
运行此脚本后,会将原EPS删除并重命名备份在 $HOME/local/bak 目录下。
#!/bin/bash
dir_bak=${HOME}/local/bak
dir_eps=${HOME}/local/bak/eps
if [ ! -d ${dir_bak} ]; then
mkdir -p ${dir_bak}
fi
if [ ! -d "${dir_eps}" ]; then
mkdir -p ${dir_eps}
fi
check=$(ls|grep eps)
if [ ! -z "${check}" ]; then
for fullfile in *.eps; do
filename="${fullfile%.*}"
extension="${fullfile##*.}"
# if [ ! -f ${filename}.svg ]; then
echo "${fullfile} --> ${filename}.svg"
ps2pdf -dEPSCrop ${fullfile} tmp.pdf
pdf2svg tmp.pdf ${filename}.svg
rm tmp.pdf
mv ${fullfile} ${dir_eps}
mv ${dir_eps}/${fullfile} ${dir_eps}/$(date +%y%m%d%H%M%S)_${fullfile}
# fi
done
fi
试试inkscape软件或者ai软件
Photoshop|
Dreamweaver|
SVG|
WebGL|
Visual Studio|
PowerDesigner|
Eclipse|
Git|
Apache Ant|
Atom|
Composer|
CodeSmith|
Flex|
Gradle|
Maven|
Sublime Text3|
SVN|
Tableau|
Vim|
Chrome开发者工具|
OpenGL|
Unity|
Direct3D|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....