Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: