I'm not at a place where I can run this, but I'm curious. How does it affect the appearance of the image? It seems like it would make a few pixels very out of whack. I did a project in college with steganography and bitmap images. We had to implement the bpcs algorithm. It was pretty tough, but fun.