TLDRImages are usually stored as binary files, while a Javascript file is basically just text. Images have a concrete file format, encoding the data in a certain way. Javascript files have to follow a specific syntax in order to be executable. Can I create an image file that has valid Javascript syntax, so it is also executable?
Table of contents
Choosing the Right Image TypeChoosing the Right Image DimensionsGetting our own script in thereCleaning up the BinaryConvincing the Browser to Execute an ImageSort: