getCanvasSize() {
    const image = this.getCanvasImage();

    return {
      width: image ? image.width : 0,
      height: image ? image.height : 0,
    };
  }
Get the canvas size
@returns {Object} {{width: number, height: number}} image size