In Android development, when I tried to set a large BitMap in ImageView, the following error occurred and the image was not displayed.
Bitmap too large to be uploaded into a texture (3120x4160, max=4096x4096)
When loading it into ImageView, it seemed possible to do it through the library, so I solved it safely using glide.
imageView.setImageBitmap(bitmap);
Glide.with(getContext()).load(bitmap).into(imageView);
Easy comparison of major Glide and Picasso with Android's Image loading library This time we adopted glide which is released more frequently
glide https://github.com/bumptech/glide
picasso https://github.com/square/picasso
Recommended Posts