mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-24 23:44:20 +01:00
save edited images at 90% quality
This commit is contained in:
parent
cc91a3a287
commit
4bb8650b57
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user