Is there a way to get the resolution size of an image asset?

Hello there, Recently I’ve been trying to implant a better way to import GUI into Roblox and I’m trying to find a way to figure out the size of an image asset uploaded to Roblox but I just haven’t had any luck, so I’m wondering if there is an API that I could use or if there is a function in Roblox that I’ve missed.