Remove useless require statement
Fix typo
Add tests for default maxgray values
Derive image type from pixel data
Update README
Release 0.2.0