mirror of
https://github.com/option8/greenscale.git
synced 2024-12-26 13:31:37 +00:00
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
Block a user