skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. 115,781,908 Bytes is nearly equal to 115 MB.

    If you could export it with SVG that would be better of course.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search