Hiding message in JPG image

岁酱吖の 提交于 2019-11-28 10:38:33

For jpeg steganography either save your result as a lossless jpeg, or simply use a different stegographic method. The only one I know is fiddling with the Discrete Cosine Transform coefficients (DCT). However, you need to be aware of rounding errors and as such the retrieval of your secret will be lossy.

I don't favour DCT and I haven't looked into it a lot, but here is a paper from 2007 which claims jpeg lossless steganography. Be warned that the algorithm is much more complex than your casual LSB substitution in the spatial domain. Hiding data in the frequency domain also means lower hiding capacity and I don't know whether this will serve you. If you are interested and can't access the paper, we can sort this out privately.

Andrew Thompson

You might have to change the JPEG for 100% encoding quality - which will increase the size in bytes significantly (a lot).

See this thread for how to encode to JPG with controllable compression/quality. The slider on the left is used to control the level.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!