Creating a .NET program that hides an image inside an image

I want to run a small pet project that will allow the user to draw an image and then hide that image in another image. This means that if you open a fictitious image that you will see. But if you open the dummy image using my software, you will see the actual image.

I have never done anything like this, so I am very glad that I left the typical CRUD applications.

  • What is this called? (I'm sure it exists, right?)
  • Where can I find a good theory so that I can make it reliable.

Thank you for helping me again! :)

Edit:

To just understand what should be my first step, I need to capture the image and convert it to a matrix from int [n, n] and process each cell individually, finding the smallest binary value?

+4
source share
2 answers
  • It is called steganography .
  • The Wikipedia page I linked to above contains a lot of information about the various methods. You should know that this is a form of "security of obscurity." If โ€œrobust,โ€ you mean indestructible, then you're out of luck. This is not a substitute for proper encryption.
+4
source

You want to create a kind of Steganography application. Using the method described in this blog post , it will not be difficult:

  • Prepare or create an image (call him visible.jpg)
  • Prepare or create a potential hidden image (hidden.jpg)
  • Create an application that will create a password-protected rar from hidden.jpg using Process.start () .
  • Use Process.start again to execute copy /b visible.jpg + hidden.rar visible.jpg

Now your hidden.jpg is inside visible.jpg

To return your hidden.jpg file, rename visible.jpg to visible.rar and extract the hidden image.

Edit

In accordance with lifehacker's article , a gif image and / or zip file will be displayed.

0
source

Source: https://habr.com/ru/post/1315254/


All Articles