Sunday 1 May 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:

Hide text in picture 1
Now, take an image. I’ll use Tech2Hell’s logo.

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:
Hide your text in image
Now, scroll down to the end and you’ll see the Text that you wanted to hide. It will look something like this:
Hide your Text in Image
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:
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 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!

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | belt buckles