Read an image, reduce it to a pixel-art palette, and write it as a .pic.
mix linocut.import sky.png --out art/sky.pic --size 160x96 --colours 12
mix linocut.import ruins.png --out art/ruins.pic --size 320x64 --key cornerOptions
--out— where to write the.pic, required--size—WIDTHxHEIGHTto redraw at. Default the picture's own size--crop—X,Y,WIDTH,HEIGHTof the source to keep, before resizing. Default all--seam—X,Ypixels of the far edge to fade into the near one so the picture tiles, after resizing; the result loses that many pixels on each axis. Default none--colours— how many colours the palette may hold. Default16--key— a colour to make clear, as#rrggbborcornerfor the top-left pixel's colour. Default none--tolerance— how far from--keya colour may be and still be cleared, as a distance in each channel. Default20--alpha— the alpha at or above which a pixel counts as opaque. Default128--nearest— resample by taking one pixel rather than averaging, which keeps hard pixel art hard