Answer the question
In order to leave comments, you need to log in
How to save image without overlay in fabric js?
Good afternoon
There is an svg image in a certain form, which is set as overlay in fabric js
fabric.loadSVGFromURL(
url,
(objects, options) => {
const background = fabric.util.groupSVGElements(objects, options);
background.scaleToWidth(canvas.getWidth());
canvas.setOverlayImage(background).renderAll()
},
null,
{crossOrigin: 'anonymous'},
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question