隐秘图像 [英] Image Steganography

查看:99
本文介绍了隐秘图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在隐写的应用程序。我需要隐藏图像文件内的消息,并使用密码保护它,并在文件大小没有太大的区别。我使用最低有效位算法,并可以与BMP文件做成功,但它不与JPEG,PNG或TIFF文件。是否与在所有这些文件该算法的工作?有没有更好的方式来实现这一目标?谢谢你。

I'm working on Steganography application. I need to hide a message inside an image file and secure it with a password, with not much difference in the file size. I am using Least Significant Bit algorithm and could do it successfully with BMP files but it does not work with JPEG, PNG or TIFF files. Does this algorithm work with these files at all? Is there a better way to achieve this? Thanks.

推荐答案

这在很大程度上取决于特定的图像格式的工作方式。你需要潜入你想要使用的格式的内部结构。

This heavily depends on the way the particular image format works. You'll need to dive into the internals of the format you want to use.

有关JPEG,您可以用DCT系数为每块的最后一位拨弄。

For JPEG, you could fiddle with the last bits of the DCT coefficients for each block.

有关基于调色板的文件(GIF和一些png格式),您可以添加额外的颜色看起来等同于现有的调色板,并进行信息编​​码在此基础上一个你使用。

For palette-based files (GIFs, and some PNGs), you could add extra colours to the palette that look identical to the existing ones, and encode information based on which one you use.

这篇关于隐秘图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆