ID:2667503
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
It came up in one of the discord servers today that Icon procs can be cumbersome under some circumstances, the exact use-case was reading the size of the sprite itself.

Would it be possible to have the icon dimensions added to appearance as two read-only vars? icon_width and icon_height perhaps?
This could not be added to appearance, but it could be added as read-only vars to atoms and images. Under the hood it would still call the internal routines for checking width and height, though, and the only benefit you'd get would be that these are cached on a per-icon basis. The visual bounds system the server uses already has to read this info so it should be available.