DarkSuiyoken/sprite.js — comment on commit 53041415e778284e7eb098be5c89743727b0b5ae
File:  line 0
By batiste:

What are the hidden frames you are talking about? Isn't img.width and img.height good enough there?