Forked from https://github.com/component/image-size