src/ImboClient/Http/ImageUrl.php
public function sharpen(array $params = null) {
        $options = array('preset', 'radius', 'sigma', 'threshold', 'gain');
        $transformation = array();

        foreach ($options as $param) {
            if (!isset($params[$param])) {
                continue;
            }

            $transformation[] = $param . '=' . $params[$param];
        }

        return $this->addTransformation(
            'sharpen' . ($transformation ? ':' . implode(',', $transformation) : '')
        );
    }
public function sharpen(array $params = null) {
        $options = array('preset', 'radius', 'sigma', 'threshold', 'gain');
        $transformation = array();

        foreach ($options as $param) {
            if (!isset($params[$param])) {
                continue;
            }

            $transformation[] = $param . '=' . $params[$param];
        }

        return $this->addTransformation(
            'sharpen' . ($transformation ? ':' . implode(',', $transformation) : '')
        );
    }
public function sharpen ( array $ params = null ) { $ options = array ( 'preset' , 'radius' , 'sigma' , 'threshold' , 'gain' ) ; $ transformation = array ( ) ; foreach ( $ options as $ param ) { if ( ! isset ( $ params [ $ param ] ) ) { continue ; } $ transformation [ ] = $ param . '=' . $ params [ $ param ] ; } return $ this -> addTransformation ( 'sharpen' . ( $ transformation ? ':' . implode ( ',' , $ transformation ) : '' ) ) ; }
Add a sharpen transformation

Parameters:
`preset`    - `light`, `moderate`, `strong`, `extreme`.
`radius`    - Radius of the gaussian, in pixels
`sigma`     - Standard deviation of the gaussian, in pixels
`threshold` - The threshold in pixels needed to apply the difference gain
`gain`      - Percentage of difference between original and the blur image
that is added back into the original

@param array $params Parameters for the transformation
@return self
Add a sharpen transformation