Skip to content

Commit 7797989

Browse files
committed
add the convert to animated gif script
1 parent 2a3e4ce commit 7797989

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

convert.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
3+
########################
4+
## using “convert” from ImageMagick to do ps convert into PNG
5+
#########################
6+
7+
8+
for INP in *.ps
9+
do
10+
echo $INP
11+
newname=`basename $INP .ps`
12+
convert -density 150 -geometry 100% $INP $newname.png
13+
echo ” convert $INP to $newname.png completely”
14+
done
15+
echo ” process ended, please check your graphical files”
16+
17+
convert -delay 100 -loop 0 *.png loop.gif

0 commit comments

Comments
 (0)