filestack/Filelink.php
public function upscale($noise = 'none', $style = 'photo', $upscale = true)
    {
        $options = [
            'n' => $noise,
            's' => $style,
            'u' => $upscale ? 'true' : 'false'
        ];

        // call TransformationMixin function
        $this->setTransformUrl('upscale', $options);

        return $this;
    }
public function upscale($noise = 'none', $style = 'photo', $upscale = true)
    {
        $options = [
            'n' => $noise,
            's' => $style,
            'u' => $upscale ? 'true' : 'false'
        ];

        // call TransformationMixin function
        $this->setTransformUrl('upscale', $options);

        return $this;
    }
public function upscale ( $ noise = 'none' , $ style = 'photo' , $ upscale = true ) { $ options = [ 'n' => $ noise , 's' => $ style , 'u' => $ upscale ? 'true' : 'false' ] ; // call TransformationMixin function $ this -> setTransformUrl ( 'upscale' , $ options ) ; return $ this ; }
Set this Filelink's transform_url to include the upscale task

@param string    $noise          none, low, medium or high
Setting to reduce the level of noise in
an image. This noise reduction is performed
algorithmically and the aggressiveness of
the noise reduction is determined by low,
medium and high gradations.
@param string    $style          artwork or photo
If the image being upscaled is a drawing
or piece of artwork with smooth lines, you
will receive better results from the upscaling
process if you also include the artwork
style parameter.
@param bool      $upscale        True will generate an image that is 2x the
dimensions of the original. If false is
passed as part of the task, then features
like noise reduction can be used without
changing the resolution of the image.

@throws FilestackException   if API call fails, e.g 404 file not found

@return Filestack/Filelink
Set this Filelink s transform_url to include the upscale task