You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please tell me how you can change the canvas width height according to background image load with its uppar canvas and lower canvas and rest of canvas container was 100% both height and width.
Regards
The text was updated successfully, but these errors were encountered:
Sorry for late answer.
tui-image-editor uses Canvas.setDimensions() fabric API for that. fabricjs provides two options(cssOnly, backstoreOnly) with resizing canvas.
In tui-image-editor, you can see the usage at graphics.js.
Can you please tell me how you can change the canvas width height according to background image load with its uppar canvas and lower canvas and rest of canvas container was 100% both height and width.
Regards
The text was updated successfully, but these errors were encountered: