Post Format

Get Cross Domain Images with HTML5 Canvas: getImageData

getImageData is a jQuery plugin to create a proxy script on their server to get images from different domains or origins. It enables pixel level access to images from different origins.

Get Cross Domain Images with HTML5 Canvas

It works by sending a JSONP request with the URL of the image to Google’s servers via the Google App Engine. The server then converts the image into base64 encoded data URL and sends the image back as a JSON object. This means that the image can be locally included on the website and therefore it can be edited by the canvas tag.





2 comments

  1. Pingback: Tweets that mention Get Cross Domain Images with HTML5 Canvas: getImageData | Greepit -- Topsy.com

  2. Pingback: MY-TAG » Get Cross Domain Images with HTML5 Canvas: getImageData | Greepit

Leave a Reply