fix #1715, properly edit png files, do not convert them to jpgs
This commit is contained in:
parent
8b02b93161
commit
2daf7e045f
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ class NewEditActivity : SimpleActivity() {
|
||||||
settingsList.getSettingsModel(UiConfigTheme::class.java).theme = R.style.Imgly_Theme_NoFullscreen
|
settingsList.getSettingsModel(UiConfigTheme::class.java).theme = R.style.Imgly_Theme_NoFullscreen
|
||||||
|
|
||||||
settingsList.getSettingsModel(EditorSaveSettings::class.java)
|
settingsList.getSettingsModel(EditorSaveSettings::class.java)
|
||||||
|
.setExportFormat(EditorSaveSettings.FORMAT.AUTO)
|
||||||
.setOutputFilePath("$filesDir/editor/$filename")
|
.setOutputFilePath("$filesDir/editor/$filename")
|
||||||
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
|
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue