I hope you will forgive my ignorance as this is probably simple, but as a beginner, I can't see why it doesn't work. I am trying to access pixel data and simply change any that are 'near black' to black. The resulting image has no changes made to it; pixels of rgb values like (2, 4, 3) still exist. It may seem trivial but it is a step in learning to get me to what I really want to do.