private function motionBlur(array $params) {
        $this->checkRequiredParams($params, ['radius', 'sigma', 'angle']);

        $radius = (float) $params['radius'];
        $sigma = (float) $params['sigma'];
        $angle = (float) $params['angle'];

        try {
            $this->imagick->motionBlurImage($radius, $sigma, $angle);
        } catch (ImagickException $e) {
            throw new TransformationException($e->getMessage(), 400, $e);
        }

        $this->image->hasBeenTransformed(true);
    }
private function motionBlur(array $params) {
        $this->checkRequiredParams($params, ['radius', 'sigma', 'angle']);

        $radius = (float) $params['radius'];
        $sigma = (float) $params['sigma'];
        $angle = (float) $params['angle'];

        try {
            $this->imagick->motionBlurImage($radius, $sigma, $angle);
        } catch (ImagickException $e) {
            throw new TransformationException($e->getMessage(), 400, $e);
        }

        $this->image->hasBeenTransformed(true);
    }
private function motionBlur ( array $ params ) { $ this -> checkRequiredParams ( $ params , [ 'radius' , 'sigma' , 'angle' ] ) ; $ radius = ( float ) $ params [ 'radius' ] ; $ sigma = ( float ) $ params [ 'sigma' ] ; $ angle = ( float ) $ params [ 'angle' ] ; try { $ this -> imagick -> motionBlurImage ( $ radius , $ sigma , $ angle ) ; } catch ( ImagickException $ e ) { throw new TransformationException ( $ e -> getMessage ( ) , 400 , $ e ) ; } $ this -> image -> hasBeenTransformed ( true ) ; }
Add motion blur to the image

@param array $params The transformation parameters
Add motion blur to the image