Get image dimensions from thumbnail generation?


I’m pulling images from an API that doesn’t provide dimensions, and I’d like them to be able to resize things dynamically later.

However, I did notice that the API prints that it generates a thumbnail in the console, along with the image’s original dimensions:
Is there any way to access this data as I pull the image? Or is it hidden somewhere I can’t get to?