Allow exporting images as png. Kind of hacky and requires:

pip install Wand
apt-get install imagemagick
apt-get install ghostscript

Generally ghostscript comes with imagemagick on Ubuntu.