Make width/height configurable
Improve logging
Delete temp files once done

Otherwise, all temp files are deleted only when the entire repository has been
processed, which can consume quite a lot of disk space.