Fix incorrect range for pixel's `opacity` property

The CSS property opacity expects a value between `0` and `1`, while
`getImageData()` returns value between `0` and `255`.

Fixes #4