out seems to be unnecessarily large for one byte per pixel
Merge pull request #6 from morturp/patch-2

out seems to be unnecessarily large for one byte per pixel