PHP Interface Sulu\Bundle\MediaBundle\Media\ImageConverter\ImageConverterInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
convert ( FileVersion $fileVersion, string $formatKey ) : Imagine\Image\ImageInterface Convert an image and return the tmpPath.

Method Details

convert() public method

Convert an image and return the tmpPath.
public convert ( FileVersion $fileVersion, string $formatKey ) : Imagine\Image\ImageInterface
$fileVersion Sulu\Bundle\MediaBundle\Entity\FileVersion
$formatKey string
return Imagine\Image\ImageInterface