Tainted — Canvas

: You cannot use toDataURL() , toBlob() , or captureStream() .

A is a security feature in web browsers that prevents the unauthorized extraction of image data from a canvas element . It occurs automatically when an image or video from a different domain (origin) is drawn onto a without proper authorization. Key Effects of Tainting Tainted Canvas

: The content remains visible to the user, but it cannot be programmatically read back or saved by scripts. Why It Exists : You cannot use toDataURL() , toBlob() , or captureStream()

: Attempting to use getImageData() will throw a SecurityError . : You cannot use toDataURL()