The LEADTOOLS ImageViewer uses the HTML 5 getImageData on the back canvas. If the URL of the image is not in the same domain, a security error might occur:
DOM Exception: SECURITY_ERR (18)
For more information, refer to the documentation for HTML5 Canvas getImageData documentation in w3.org.