reference / pictures
resize
A new picture of another size: resize photo size 100 80. A side given as 0 follows the picture's shape, so size 100 0 keeps it. as nearest keeps hard edges, which pixel art wants; the start is smooth.
photo = load "landscape.png"small = resize photo size 24 0smooth = resize small size 180 0hard = resize small size 180 0 as nearestimage smooth at 10 10image hard at 210 10
How to write it
resize picture size number number [as word]Gives a picture.
Words it takes
- after
as smooth,nearest