Use png as default image type, corrected docstring