Fixes #192

get/put_pixel was broken
Merge pull request #196 from nwin/master

Fixes #192