3 ms·
FWIW, The article seems to be mistaken. The code listed is retrieving the payload from the pixel data. It uses getImageData, which returns the pixel data of th
by rpsw 13y ago
FWIW, The article seems to be mistaken. The code listed is retrieving the payload from the pixel data.
It uses getImageData, which returns the pixel data of the canvas in an array of RGBA values. It then loops through and retrieves a character from every red pixel.