The image writer can now output images! Still plenty of work to do though... see the todos.