Cross-origin resource sharing problems are very much an issue with all parts of any web page, and it isn’t always simple. For example, Server-side images of diagrams with pictures using PhantomJS - #4 by Doogal.
Do you know about the Picture.sourceCrossOrigin functional property?