output generated hash to stderr
added support for SVG which does not require imagemagick