Timber\ImageHelper::retina_resize PHP Method

retina_resize() public static method

Generates a new image with increased size, for display on Retina screens.
public static retina_resize ( string $src, float $multiplier = 2, boolean $force = false ) : string
$src string
$multiplier float
$force boolean
return string url to the new image
    public static function retina_resize($src, $multiplier = 2, $force = false)
    {
        $op = new Image\Operation\Retina($multiplier);
        return self::_operate($src, $op, $force);
    }