public function setBlockSize($size)
    {
        if ($size <= 1) {
            throw new \InvalidArgumentException("Pixel Size Must Be Greater Than One");
        }
        $this->size = (int) abs($size);

        return $this;
    }
public function setBlockSize($size)
    {
        if ($size <= 1) {
            throw new \InvalidArgumentException("Pixel Size Must Be Greater Than One");
        }
        $this->size = (int) abs($size);

        return $this;
    }
public function setBlockSize ( $ size ) { if ( $ size <= 1 ) { throw new \ InvalidArgumentException ( "Pixel Size Must Be Greater Than One" ) ; } $ this -> size = ( int ) abs ( $ size ) ; return $ this ; }
Set the block size

@param integer $size

@return \Jaguar\Action\Pixelate\AbstractPixelate

@throws \InvalidArgumentException
Set the block size