execute(graphics, dimensions) {
    const resizeComp = graphics.getComponent(RESIZE);

    let originalDimensions = resizeComp.getOriginalDimensions();
    if (!originalDimensions) {
      originalDimensions = resizeComp.getCurrentDimensions();
    }

    this.undoData.dimensions = originalDimensions;

    return resizeComp.resize(dimensions);
  }
Resize an image
@param {Graphics} graphics - Graphics instance
@param {object} dimensions - Image Dimensions
@returns {Promise}