Demo: S3 & canvas & no Security Error

This is the code for solving the Security Error issued by browsers when loading images from another domain in a canvas and accessing its pixels.

The application folder should be integrated in your application, and the s3 folder on the remote domain on which you keep your images.

You can see it working and read more about the problem and the solution.