I'm fiddling with this annoying problem where I can't quite get the answer from other stackoverflow questions.
My problem arises from my steganography attemps in Python. I convert a sentence to binary and now I want to alter the two LSB's of each pixel in a given image to hide the message in said image.
Say each pixel has RGB values, with each value being 8 bit in size: What method is best practice?
A bitmask (how do they work)?
String comparisons?
Every help is greatly appreciated!
source https://stackoverflow.com/questions/73085086/change-last-two-bits-in-python
Comments
Post a Comment