title: ImageMagick exec commands to reduce noise on white background to PHP Imagick
body: <p>I need this line:</p>
  <pre><code>magick &quot;input.jpg&quot; -fuzz 4% -transparent white -background white -alpha remove -alpha off -quality 85% &quot;result.jpg&quot;
  </code></pre>
  <p>to PHP imagick:</p>
  <pre><code>$img = new Imagick($root . '/testall/imagemagick/input.jpg');
  // ???
  $img-&gt;setImageFormat('jpg');
  $img-&gt;setImageCompressionQuality(85);
  $img-&gt;writeImage($root . '/testall/imagemagick/result.jpg');
  </code></pre>
  <p>and I can't find <code>fuzz</code> in <a href="https://www.php.net/manual/de/book.imagick.php" rel="nofollow noreferrer">https://www.php.net/manual/de/book.imagick.php</a> to even start with.</p>
  <p>Please help</p>