fix #1715, properly edit png files, do not convert them to jpgs

This commit is contained in:
tibbi 2020-01-15 22:42:53 +01:00
parent 8b02b93161
commit 2daf7e045f

View file

@ -243,6 +243,7 @@ class NewEditActivity : SimpleActivity() {
settingsList.getSettingsModel(UiConfigTheme::class.java).theme = R.style.Imgly_Theme_NoFullscreen
settingsList.getSettingsModel(EditorSaveSettings::class.java)
.setExportFormat(EditorSaveSettings.FORMAT.AUTO)
.setOutputFilePath("$filesDir/editor/$filename")
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY