From 4bb8650b57725ade5b431739a20811a0c9907176 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 8 Oct 2016 23:05:41 +0200 Subject: [PATCH] save edited images at 90% quality --- .../com/simplemobiletools/gallery/activities/EditActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt index 970daee02..b3614e174 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt @@ -96,7 +96,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener var out: FileOutputStream? = null try { out = FileOutputStream(file) - bitmap.compress(getCompressionFormat(file), 100, out) + bitmap.compress(getCompressionFormat(file), 90, out) setResult(Activity.RESULT_OK, intent) } catch (e: Exception) { Log.e(TAG, "Crop compressing failed $e")