initial commit
trying different buffer types with no luck
Revert "trying different buffer types with no luck"

This reverts commit fb5ae1450d19cb2eaa19550865b417fec9f72f2d.
Revert "Revert "trying different buffer types with no luck""

This reverts commit e6b40768e82363c75df1d3c5df0fa372aaea5492.
Compiles and no errors but does not work
added some debugging printlns
Successfully copies gray image
testing branching
copies gray image