i can't find it
info.h, and info.w are for the current height width
how about the original sprites height, and width
Based on a quick walk through the sprite object source code, it looks like these return what you want:
Develop games in your browser. Powerful, performant & highly capable.
curTexture is allowed to be NULL, so make sure you check that first.