Read a sprite sheet, clear its background, cut it into frames and write them as one
.pic with the frames separated by ---.
mix linocut.sheet run.png --out art/runner.pic --key corner --size 24x36 --expect 6Options
--out— where to write the.pic, required--key— the background colour to clear, as#rrggbborcornerfor the top-left pixel's colour. Defaultcorner--tolerance— how far from--keya colour may be and still be cleared. Default40--band— which row of frames to cut, counting from the top, orallfor every row in turn. Default0--gap— how many blank columns or rows separate one frame from the next. Default6--size—WIDTHxHEIGHTto draw each frame at. Default the frames' own size--colours— how many colours the palette may hold. Default16--alpha— the alpha at or above which a pixel counts as opaque. Default128--expect— fail unless exactly this many frames were found--order— the frames to write and the order to write them in, as indexes into what was cut counting from0, such as0,1,2,3,2,1. A frame may be left out or used more than once. Default every frame, left to right--nearest— resample by taking one pixel rather than averaging