src/Uploadcare/File.php
public function effect($effect)
    {
        if (!$effect) {
            return $this;
        }
        $result = clone $this;
        $result->operations[]['effect'] = $effect;
        return $result;
    }
public function effect($effect)
    {
        if (!$effect) {
            return $this;
        }
        $result = clone $this;
        $result->operations[]['effect'] = $effect;
        return $result;
    }
Apply effect

@param string $effect Effect name
@return File