Reduced logging

This commit is contained in:
M66B
2021-07-02 20:22:54 +02:00
parent 5b39fe3da0
commit d648ec712b

View File

@@ -316,7 +316,7 @@ class ImageHelper {
try {
int scaleToPixels = res.getDisplayMetrics().widthPixels;
ByteArrayInputStream bis = getDataUriStream(a.source);
Bitmap bm = getScaledBitmap(bis, a.source, scaleToPixels);
Bitmap bm = getScaledBitmap(bis, "data:" + getDataUriType(a.source), scaleToPixels);
if (bm == null)
throw new IllegalArgumentException("decode byte array failed");