tried with kineticJS but failed.

SECURITY problem when using getImageData with external source