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.
ID:260844
Dec 6 2009, 3:17 pm
|
|
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