Well, there are at times when you need to hide files from someone. Say, a text file which has some important data that you need to hide from everyone. So, this post will teach you how to hide text in an image.
Now, open notepad and give two lines space and then write anything you would like to make secret like given in the below image:
Now, take an image HERE...
Make sure to keep the image and text file in the same directory.
Now all you need is a command prompt window. So go to Start-> Run-> type “cmd” and press enter.
Navigate to the folder where your files are stored using “cd” command.
Now type the following command:
Where, Image.jpg is the name of your image file and Text.txt is the name of your text file. Give a space between [Image.jpg + Text.txt] and [Output.jpg]
Output.jpg is the name of the file that will be created after you run this command.
Make sure that Image file name comes first and then the text file name after copy /b. Doing the opposite will not work.
Now, press enter and you’ll see an Output.jpg file that will get created in that same directory. You could now open the image, the image will open normally. Now the trick comes, open the Output.jpg file with notepad and you’ll see something like this:
Now, scroll down to the end and you’ll see the Text that you wanted to hide. It will look something like this:
The same thing can be done using a windows batch file.
And then you just found a way to hide your secret content in an image.
Now, lets do the same thing using a windows batch file:
To make a batch file:
Open notepad and write the following code:
Open notepad and write the following code:
Where, Image.jpg is the name of your image file and Text.txt is the name of your text file. Give a space between [Image.jpg + Text.txt] and [Output.jpg]
Output.jpg is the name of the file that will be created after you run this batch file.
Output.jpg is the name of the file that will be created after you run this batch file.
Save the notepad file as ImageHide.bat
Double click on the batch file to create Output.jpg. And, now you’ve also learnt to hide the text in image using the windows batch file.
Enjoy HIDING!