update to support more GIF styles, updated imagemagick features

This commit is contained in:
Charles Mangin
2019-01-09 15:05:56 -05:00
committed by GitHub
parent 0bfe04dc66
commit 18bf511bf4
+4 -2
View File
@@ -1,8 +1,10 @@
#!/bin/bash
convert animation.gif frame%02d.gif
convert animation.gif -coalesce frame%02d.gif
convert frame*.gif -resize 640x480 -gravity center -background white -extent 640x480 -compress none -scale 56x100% -resize 40x48\! \
-colorspace Gray -colors 16 -depth 8 -auto-level -evaluate divide 17 %02d.gray
convert frame*.gif -compress none -scale 56x100% -scale 40x48\! -colorspace Gray -colors 16 -depth 8 -auto-level -evaluate divide 17 %02d.gray
for file in *.gray
do