Bitmap with large error complains about doubling the image size

I get a notorious error OpenGLRendererthat "Bitmap too large to be uploaded into a texture."I am familiar with the error and know that I need to save my images below 2048 pixelsto avoid this.

However, on one specific Samsung Galaxy Nexus phone, it reports image sizes that are two times larger than the actual image size.

My image is in a folder drawableand has a size 2048x95. When I launch the application and try to add this image to the display, I get a notorious error:

The bitmap is too large to load into the texture (4096x190, max = 2048x2048)

What gives?

+5
source share
1

, . , mdpi , hdpi, xhdpi xxhdpi , , ldpi, .

, , Galaxy Nexus, drawable-xhdpi.

+5

All Articles