Get Uploaded Image / Annotation's Exact dimensions (width by height)

We need to be able to extract the exact dimensions (most likely pixels) from an uploaded image file.

We use WebViewer to stamp uploaded images (png, jpg, tif) onto an empty canvas as an annotation. Is there a function within WebViewer to extract and provide the uploaded file/annotation’s dimensions (like 1672 x 400) px so that we can use that information for scaling/sizing purposes?