I am looking for a script which can generate a secret code or image and then when uploaded will read the text hidden in the image or code.

Example : It will generator a barcode and when uploaded, it reveals the text.

Do you know any such script available online (free or paid any will do).