update to support more GIF styles, updated imagemagick features
This commit is contained in:
parent
0bfe04dc66
commit
18bf511bf4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue