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

Image ratio
Merge pull request #261 from peterzd/dev

Dev