This article example describes the method of obtaining image width and height information without reading into memory. Share it for your reference. The details are as follows:
options = new (); = true; Bitmap bitmap = ("/sdcard/", options); int w = ; int h = ;
I hope this article will be helpful to everyone's Android programming design.