$.getImageData is a jQuery plug in that allows you to get an image from anywhere on the internet and use it as if it came from your domain. This should prove useful for anyone who has come across the cross-domain policy enforced by browsers on the Canvas tag. The service uses a Google App Engine project to fetch the image and return it as a JSON-formatted data URL.
I created the plug-in and service so that anyone wishing to take images from somewhere like Flickr or Google Image Search can do so without having to bother to create a proxy or fiddle with the server. David DeSandro’s Close Pixelate (the effects pictured here) uses the Google App Engine service to enable it’s users to process images from other domains. Another novel use of the plug in is on Pete Goodman’s website; when the Konami Code is pressed, the whole website turns black and white including any images from other domains. Read more about it here.
Some of the common error codes that come up when trying to get an image from another domain are;
Firefox: Security error code: 1000
Chrome: Uncaught Error: SECURITY_ERR: DOM Exception 18
Safari: SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent.