I need to take any icon and scale it correctly, I can't get the height and width with the icon. I use reactJS, I have the path of the icon and the max height/width it can be (it depends on which is larger). Any help?
I have tried using require but it only gave me the path (which I had). I have also tried to use .getBBox to no effect. I don't have any code that might help, just the path