2 ms·
Did you manually implement the jpeg file format? How did you get it to save without jpeg compression overwriting your bits? I'm working on a similar project htt
by nobody271 8y ago
Did you manually implement the jpeg file format? How did you get it to save without jpeg compression overwriting your bits? I'm working on a similar project https://github.com/smchughinfo/steganographyjr https://github.com/smchughinfo/steganographyjr but so far only png files work. I think it would be nice to manually implement gifs and jpegs but they are not easy algorithms and I suspect there are multiple flavors of each so it just seems like a huge undertaking. ...i will probably try ImageSharp https://github.com/SixLabors/ImageSharp https://github.com/SixLabors/ImageSharp
- nemo1618 8y agoI copied most of the implementation from the Go standard library. The actual diff required to implement the steganography is very small: https://github.com/lukechampine/jsteg/commit/d35a0bb4e6c545d4f1dd2a28eee514228dab3409 https://github.com/lukechampine/jsteg/commit/d35a0bb4e6c545d... Re-encoding the JPEG will destroy the hidden bits, so it's very fragile.
- emmelaich 8y agoYou can make it less fragile with a significant loss of bandwidth.