3 ms·
Wouldn't you be able to create an image tag dynamically and then use that? I'm not sure if you can get a callback when the image is loaded though.
by boundlessdreamz 16y ago
Wouldn't you be able to create an image tag dynamically and then use that? I'm not sure if you can get a callback when the image is loaded though.
- user24 16y agoNo; calling getImageData on an image tag with an external src will fail with a cross domain warning :( You can set up an onload handler on an image though, yeah.