Topic: [js] svg to canvas

Kind time of days. Found set of examples on JS which "overtake" svg in Canvas. But noted one singularity when in svg is present Image c the link to a local \remote resource, in this case it is preempted only svg, and there where there should be a picture, there is an icon (as it is impossible to load a picture in the browser). Can prompt an effective method to do high-grade a picture svg (with pictures inside) to canvas?