Reduced logging

pull/199/head
M66B 4 years ago
parent 5b39fe3da0
commit d648ec712b

@ -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");

Loading…
Cancel
Save