我试图通过在每个像素中使用每种颜色的最后2个LSB(在蓝色的情况下是最后3个)来在图像中嵌入一个文件,每当我编码/解码时,文本都可以正常工作,但任何二进制数据,如ELF文件,随机数据等都会混淆。这是我的隐写术和去隐写术函数: bool steganographize(int height, int width, unsigned long long filesize, unsigned char *file, RGBTRIPLE image[height][width], bmpstatus about) int f = 0; //for char access
int