public function resizeAndOrCrop($width, $height, $options) {
        if (!$width && !$height) return $this;
        if (isset($options['quadrant'])) return $this->cropQuadrant($width, $height, $options);
        if (array_key_exists('pad', $options)) $this->pad($width, $height, $options);
        if (array_key_exists('resize', $options) || !$width || !$height) return $this->resize($width, $height);
        return $this->crop($width, $height);
    }