http://compass-style.org/reference/compass/helpers/image-dim...
So, perhaps I misspoke: Sass's power is in its ability to tie it's functions to arbitrary Ruby code, which can then access and manipulate files.
http://compass-style.org/reference/compass/helpers/image-dim...