Implement background-related API

[#74712786]

- #setBackgroundImage
- #resizeBackgroundToCanvas
- #resizeCanvasToBackground
Implement save and load API

[#74712740]