public function resizeCanvas($width, $heigth = null, array $options = [])
    {
        //Sets default options
        $options += ['anchor' => 'center', 'relative' => false, 'bgcolor' => '#ffffff'];

        //Adds arguments
        $this->arguments[] = [__FUNCTION__, $width, $heigth, $options];

        //Adds the callback
        $this->callbacks[] = function (Image $imageInstance) use ($width, $heigth, $options) {
            return $imageInstance->resizeCanvas($width, $heigth, $options['anchor'], $options['relative'], $options['bgcolor']);
        };

        return $this;
    }