This is the error I am getting :
java.lang.RuntimeException: Canvas: trying to draw too large(115781908bytes) bitmap.
Is there any way by which I can fix this without reducing the image quality?
This is the error I am getting :
java.lang.RuntimeException: Canvas: trying to draw too large(115781908bytes) bitmap.
Is there any way by which I can fix this without reducing the image quality?
2
Answers
That isn’t a 1.93 MB image. That’s a 110MB image. The compressed size of the file isn’t what matters, its the uncompressed size- which is
4*width*height
.Why is your image so large, in terms of width and height? That’s over 5300×5300. You need a smaller image. Reducing the quality wouldn’t help, as the uncompressed size would be the same.
Edit: Fixed initial math where I was off by a suffix. However the math on the pixel size was correct.
115,781,908 Bytes is nearly equal to 115 MB.
If you could export it with SVG that would be better of course.