mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
.isJpg()
This commit is contained in:
@ -465,7 +465,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||||||
return@getFileOutputStream
|
return@getFileOutputStream
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currPath.isImageFast() && !currPath.isPng()) { // Is always JPEG?
|
if (currPath.isJpg()) {
|
||||||
saveRotation(currPath, tmpFile)
|
saveRotation(currPath, tmpFile)
|
||||||
} else {
|
} else {
|
||||||
saveFile(tmpFile, bitmap, it as FileOutputStream)
|
saveFile(tmpFile, bitmap, it as FileOutputStream)
|
||||||
|
Reference in New Issue
Block a user