For this you need Winrar

compress your data with winrar

copy your image and compressed data into one folder

for example I copied both into my D drive

Now go to run and type cmd and press enter

now go to the destination folder from command prompt


In my example I copied both into my D drive so I just type d: and then enter

now type the following command

copy /b image.jpg + data.rar  new_image.jpg


in this command image.jpg indicates my image name , data.rar indicates my data file name and new_image.jpg  indicates the image which have been created after this command


all done