initial commit
most of the implementation

resampling works, framing works, extract square works, pixelio works

TODO recolouring