制作将图像隐藏在图像中的.NET程序

发布于 2024-09-08 13:15:30 字数 354 浏览 12 评论 0原文

我想启动一个小宠物项目,允许用户拍摄图像,然后将该图像隐藏在另一个图像中。这意味着如果您打开虚拟图像,您将看到所有内容。但是,如果您使用我的软件打开虚拟图像,您将看到实际图像。

我从来没有做过这样的事情,所以我对摆脱典型的 CRUD 应用程序感到非常兴奋。

  1. 这叫什么? (我确信它存在,对吧?)
  2. 我在哪里可以找到它背后的一些很好的理论,这样我就可以使它变得强大。

非常感谢您再次帮助我! :)

编辑:

因此,为了清楚我的第一步应该是什么,我需要抓取一个图像并将其转换为 int[n,n] 矩阵,并单独处理每个单元格,找到最小二进制值?

I want to start a little pet project that will allow a user to pic an image and then hide that image within another image. Meaning that if you open the dummy-image that's all you'll see. But if you open the dummy-image with my software you'll see the actual image.

I've never done something like this so I'm pretty excited about getting away from the typical CRUD applications.

  1. What is this called? (I'm sure it exists, right?)
  2. Where can I find some nice theory behind it so I can make it robust.

Thanks so much for helping me yet again! :)

Edit:

So just to be clear on what my first step should be, I need to grab an image and convert it to a matrix of int[n,n] and process each cell individually finding the least binary value?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吃不饱 2024-09-15 13:15:30
  1. 它称为隐写术
  2. 我上面链接到的维基百科页面包含有关各种技术的大量信息。但您应该意识到这是一种“默默无闻的安全”形式。如果“坚固”意味着牢不可破,那么你就不走运了。它不能替代适当的加密。
  1. It is called steganography.
  2. The Wikipedia page I linked to above includes lots of information about various techniques. You should be aware though that this is a form of "security by obscurity". If by "robust" you mean unbreakable then you are out of luck. It is not a substitute for proper encryption.
冰葑 2024-09-15 13:15:30

您想要创建某种隐写术应用程序。通过应用 这篇博文,一点也不难:

  1. 准备或创建一个图像(我们称之为visible.jpg)
  2. 准备或创建您​​想要的隐藏图像(hidden.jpg)
  3. 创建一个应用程序,它将使用进程从hidden.jpg创建受密码保护的rar .start()
  4. 再次使用 Process.start 发出命令copy /bvisible.jpg + hide.rarvisible.jpg

您的hidden.jpg现在位于visible.jpg中

要找回您的hidden.jpg,请重命名visible.jpgvisible.rar 并提取隐藏图像。

编辑

根据lifehacker 文章、gif 图像和/或 zip 文件也可以。

You want to create some sort of Steganography application. By applying the technique described in this blog post, it won't be hard at all:

  1. Prepare or create an image (let's call it visible.jpg)
  2. Prepare or create your would-be hidden image (hidden.jpg)
  3. Create an application which will create a password protected rar from hidden.jpg, using Process.start().
  4. Use Process.start again to issue the command copy /b visible.jpg + hidden.rar visible.jpg

Your hidden.jpg now resides inside visible.jpg

To get your hidden.jpg back, rename visible.jpg to visible.rar and extract the hidden image.

Edit:

According to a lifehacker article, a gif image and / or a zip file will do as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文