How to get width and height of remote images from Next Generation Dynamic Media remote assets
We have Next Generation Dynamic Media set up, so we can select and use remote images for any of components that may contain an image. I'm trying to figure out how I can get the width and height of this image if it is remote.
I know how to do it with local images by checking the renditions, but I'm not sure what to do for remote images. I was thinking of just using the image url with BufferedReader to get the image details, but I was wondering if there's some built in way to do it through one of Adobe's libraries.