There was a problem with reading and writing the pixels from/to different bitmap formats in A8. I also made all upper case comments to lowercase and translated german comments. For using your technique with shaders, I think a complete rewrite is necessary. I'll see how far I'll come.