Small improvement

This commit is contained in:
M66B
2025-01-06 18:28:51 +01:00
parent 5b93854656
commit 6f828dc8af
6 changed files with 8 additions and 8 deletions

View File

@@ -370,7 +370,7 @@ public class FragmentDialogPrint extends FragmentDialogBase {
d.draw(canvas);
Helper.ByteArrayInOutStream bos = new Helper.ByteArrayInOutStream();
bm.compress(Bitmap.CompressFormat.PNG, 90, bos);
bm.compress(Bitmap.CompressFormat.PNG, ImageHelper.DEFAULT_PNG_COMPRESSION, bos);
uri = ImageHelper.getDataUri(bos.getInputStream(), "image/png");
}
} catch (Throwable ex) {