Reputation: 1433
I try to set a large bitmap(720*18463)
to ImageSpan
, but it didn't appear, and the problem is :
W/OpenGLRenderer: Bitmap too large to be uploaded into a texture (720x18463, max=4096x4096)
How to deal with it ?
(Addtional, I want to make a RichText Editor, which can add image around text.)
Upvotes: 0
Views: 473
Reputation: 66
Scale your Bitmap when decode, and wrap it with a BitmapDrawable if you want to control the bounds.
Upvotes: 1
Reputation: 9569
There is no sense to put 18463
pixels bitmap on a screen, because it's large then any screen existed on market. You must to scale it down in order to make it works. In order to scale it down, please check that answer.
Upvotes: 0