Image formatter. Fixes #10