[feature]get image ratio when create it
[chore]expose ratio and height for images
Merge pull request #260 from peterzd/image_ratio

Image ratio