Download

Getting a texture object dimensions

Hey all,

In my project I’m downloading some images from the internet and I’m getting a Texture 2dDynamic Object.

Is there a way to know the exact dimensions (height and width in pixels) of the image that I download. Or at least can I get an aspect ratio of the image?

did you ever figure this out? been struggling with the same thing at the moment?

Sorry, I had no luck here.

My solution was to store the images on my app and only download the image ID from the back end. It is not a very scalable solution, but that was a compromise I had to make.