public function getWidth();
/** * Test if rendition fits image * * @param ImageInterface $image * @return bool */ public function fits(ImageInterface $image) { return $this->specs === 'fit' || $image->getWidth() >= $this->width && $image->getHeight() >= $this->height; }