Y
Hacker News
new
|
ask
|
show
|
jobs
by
boundlessdreamz
5554 days 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.
1 comments
user24
5554 days ago
No; 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.
link
You can set up an onload handler on an image though, yeah.