public function setScaleAlgorithm($algorithm)
    {
        foreach ($this->available_image_widths as $width) {
            $this->irds[$width]->setScaleAlgorithm($algorithm);
        }
        return $this;
    }
public function setScaleAlgorithm($algorithm)
    {
        foreach ($this->available_image_widths as $width) {
            $this->irds[$width]->setScaleAlgorithm($algorithm);
        }
        return $this;
    }
public function setScaleAlgorithm ( $ algorithm ) { foreach ( $ this -> available_image_widths as $ width ) { $ this -> irds [ $ width ] -> setScaleAlgorithm ( $ algorithm ) ; } return $ this ; }
Set the algorithm used for scaling

@param string $algorithm One of the ImageInterface::FILTER_* constants
@return $this
Set the algorithm used for scaling