title: Nodejs Sharp webp lossless compression
body: <p>I'm developing a similar service of Imgix and I'm using Sharp.</p>
  
  <p>But the webp lossless compression Imgix get better results than Sharp. The same image with the same width and height in Imgix have 453 KB and with Sharp 1.3 MB.</p>
  
  <p>Some recommendation to increase compression without losing quality?</p>
  
  <p>The code that I'm using:</p>
  
  <pre><code>https.get(url, function (response) {
      let transform = sharp().toFormat('webp').resize(width, height);
      return response.pipe(transform).webp({lossless:true}).pipe(res);
  });
  </code></pre>