ID:260844
 
There needs to be a way to determine the width and height, in pixels, of an icon file without instantiating an icon object.

I found that rapidly instantiating multiple icon objects for width and height values causes very noticeable delays.
D4RK3 54B3R wrote:
There needs to be a way to determine the width and height, in pixels, of an icon file without instantiating an icon object.

Reading the width and height requires loading the icon. It might be possible to come up with a way to load just the size info of some icons, but it would require some changes to our underlying structure in a few places. This might be a decent feature for down the road though.

Lummox JR
You could try manually saving the sizes, at least for now.