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]
copy /b Image.jpg + Text.txt 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: