C++? whats the Quickist way to get file info for png, jpg, etc

Hello World, I’m building a desktop and have a File browser but I want to get info on that file.
I can get filesize with FileutilsAndroid::
but is the a quick funcion that weill get size, scale, etc,.
Or do I have to open every file to get all that fun stuff manul ?.
is there a FileInfo(“Myfile.png”); function or someting. I have not looked at .obb stuff yet
Ps, Good morning all.