squarePic: preparatory step for the input pictures

Crop to a 500x square thumbnail, which is especially useful for the
phase swap