Add image processing

* Change `processImage()` return behaviour
* Add initial file put behaviour

Untested.