Add multiple quality levels for JPG encoding - adjust default to 0.85
This commit is contained in:
parent
4616f6a5be
commit
477a7d13de
8 changed files with 69 additions and 41 deletions
|
|
@ -1041,7 +1041,7 @@ public class IsoHDPerspective implements HDPerspective {
|
|||
if(!f.getParentFile().exists())
|
||||
f.getParentFile().mkdirs();
|
||||
try {
|
||||
FileLockManager.imageIOWrite(im[i].buf_img, fmt.getFileExt(), f);
|
||||
FileLockManager.imageIOWrite(im[i].buf_img, fmt, f);
|
||||
} catch (IOException e) {
|
||||
Debug.error("Failed to save image: " + f.getPath(), e);
|
||||
} catch (java.lang.NullPointerException e) {
|
||||
|
|
@ -1074,7 +1074,7 @@ public class IsoHDPerspective implements HDPerspective {
|
|||
if(!f.getParentFile().exists())
|
||||
f.getParentFile().mkdirs();
|
||||
try {
|
||||
FileLockManager.imageIOWrite(dayim[i].buf_img, fmt.getFileExt(), f);
|
||||
FileLockManager.imageIOWrite(dayim[i].buf_img, fmt, f);
|
||||
} catch (IOException e) {
|
||||
Debug.error("Failed to save image: " + f.getPath(), e);
|
||||
} catch (java.lang.NullPointerException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue