|
@@ -1746,7 +1746,7 @@ public final class FileUtils {
|
|
File file = new File(path);
|
|
File file = new File(path);
|
|
try {
|
|
try {
|
|
FileOutputStream fos = new FileOutputStream(file);
|
|
FileOutputStream fos = new FileOutputStream(file);
|
|
- bmp.compress(Bitmap.CompressFormat.JPEG, 100, fos);
|
|
|
|
|
|
+ bmp.compress(Bitmap.CompressFormat.PNG, 100, fos);
|
|
fos.flush();
|
|
fos.flush();
|
|
fos.close();
|
|
fos.close();
|
|
} catch (FileNotFoundException e) {
|
|
} catch (FileNotFoundException e) {
|
|
@@ -1778,7 +1778,7 @@ public final class FileUtils {
|
|
File file = new File(path);
|
|
File file = new File(path);
|
|
try {
|
|
try {
|
|
FileOutputStream fos = new FileOutputStream(file);
|
|
FileOutputStream fos = new FileOutputStream(file);
|
|
- bmp.compress(Bitmap.CompressFormat.JPEG, 100, fos);
|
|
|
|
|
|
+ bmp.compress(Bitmap.CompressFormat.PNG, 100, fos);
|
|
fos.flush();
|
|
fos.flush();
|
|
fos.close();
|
|
fos.close();
|
|
} catch (FileNotFoundException e) {
|
|
} catch (FileNotFoundException e) {
|