将图像隐藏在图像内(隐写术) [英] Hiding image inside an image (steganography)

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

问题描述

当前,我正在用C#编写代码以将文本文件嵌入位图图像中.这可以正常工作,但是如果将图像嵌入图像中,则无法正常工作.有人可以帮我吗?

在此先谢谢您.

Currently I am doing a code in C# to embed a text file within an bitmap image. This is working fine, but in case of embedding image inside an image it''s not working. Can anyone help me out on this?

Thanks in advance.

推荐答案

类似 [ ^ ]?


它的工作原理与隐藏文本相同,不同之处在于,如果一个图片大于要隐藏的文件的大约1/8,则不能将它隐藏在另一个图片中,因为我们只能在视觉数据的最低有效位中隐藏信息(您可能需要尝试2位并查看其运行方式).人们将不得不从这一因素中减去一点点,因为还有图像元数据无法用来在其中隐藏某些东西.

您到底在哪里遇到问题?

问候,
曼弗雷德(Manfred)
It works by the same principles as the hiding of text, except that you can''t hide one picture in another if it is greater than approximately 1/8 of the file it will be hidden in, since we can only hide information in the least significant bit of the visual data (you might want to try 2 bits and see how it goes). One would have to subtract a little bit from that factor since there is also image metadata that cannot be used to hide something in it.

Where exactly are you experiencing your problems?

Regards,
Manfred


根据所讨论的图像格式,您可以始终使用调色板进行操作,隐藏单色图像应该不太困难.

您可以使用此链接 [ ^ ]作为检索各种众所周知的思想和方法的信息的起点.

祝你好运
Espen Harlinn
Depending on the imageformat in question you can always play around with the palette, hiding a monochrome image shouldn''t be too hard.

You can use this link[^] as a starting point to retrieve information on various well known ideas and methods.

Good luck
Espen Harlinn


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

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