Tuesday 27 December 2011

How to hide text inside an image – Trick

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. I’ll use Hello.JPG image.
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:

copy /b Image.jpg + Text.txt Output.jpg

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:



Post a Comment