Change formatting of imagemagick templates to match document and video