The Lurker's Guide to Babylon 5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
297 B

#!/bin/csh
@ x=0
@ y=0
@ r=0
@ h=24
@ pal=32
@ wid=999
@ maxwid=5
while ($y < 408)
@ x = 0
convert +dither -crop ${wid}x${h}+0+${y} -colors $pal $1 r${r}.miff
while ($x < ${maxwid})
convert -crop 100x999+${x}00+0 r${r}.miff r${r}c${x}.gif
echo $x $r
@ x++
end
@ y += $h
@ r++
end