SVG images don't have a "size" in terms of width value and height value in pixels unit, because they are vector graphics. So I don't think there is a way for Sitecore to recognize it.
When an SVG image is uploaded in Sitecore, the Width and Height fields are left blank:
The Size field is populated like for any other image type:
When an image in Sitecore ...