handles svg as an output format and doesn't try to spit it back as an image