I've run into security limitations with javascript reading data from externally loaded images.