4 ms·
You can specify a default image URI, and possibly look at the pixels of the returned image to see if it is the specified default.
by renownedmedia 14y ago
You can specify a default image URI, and possibly look at the pixels of the returned image to see if it is the specified default.
- pc86 14y agoLook at the pixels?
- kevincennis 14y agocanvas + getImageData
- eli 14y agoYou sure about that? I thought canvas enforced a same-origin policy
- kevincennis 14y agoAh, right. Good point.