mardi 23 août 2011

Get Cross Domain Images with HTML5 Canvas: getImageData

Posted by YufGrafix | mardi 23 août 2011 | Category: , , |

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.


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.


Requirements: jQuery Library
Website: http://www.maxnov.com/getimagedata




Currently have 0 comments:


Leave a Reply