mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-18 06:17:59 +01:00
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(EditorSaveSettings::class.java)
|
||||
.setExportFormat(EditorSaveSettings.FORMAT.AUTO)
|
||||
.setOutputFilePath("$filesDir/editor/$filename")
|
||||
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
|
||||
|
||||
|
|
Loading…
Reference in a new issue