on some devices, it seems that the Bitmap images are too large for the ImageView that is going to host them.
Images will be captured by camera and network. They will be shown 1 at a time in activity, which allows you to move the image, zoom, etc., to look at the defects.
It seems that when using images from the camera we get "Bitmap too large to be loaded into the texture."
I did not want to set the scale hard, but I thought of taking any image, and through Bitmap Factory to create an image that fits in Imageview. Then I would take this image, since it is not large, and a pinch scales it, linking the matrix with the ImageView.
source share