stomita/ios-imagefile-megapixel — pull request #12 by revolunet (2013-02-19 21:49:50+00:00)
Title: prevent 0 division to fix 11

When using alpha PNGs, the vertical ratio was 0 so i just prevented this from happening :)

Here's a sample image.

![bresil](https://f.cloud.github.com/assets/124937/173477/fe0674c2-7add-11e2-8574-74d2204c9540.png)

Hope this helps :)