public function getMinSize(ImageInterface $image)
{
list($width, $height) = \Newscoop\Image\ImageService::calculateSize($image->getWidth(), $image->getHeight(), $this->width, $this->height, $this->getFlags());
$ratio = max($width / (double) $image->getWidth(), $height / (double) $image->getHeight());
return array($this->width, $this->height);
}