.isJpg()
This commit is contained in:
parent
fdc1063838
commit
76a9dfe6c7
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue