SoFunction
Updated on 2025-04-07

How to get image width and height information without reading into android

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.