title: Convert blob object webp to jpg
body: <p>I am building Chrome Extension that should get src of the image and download it.</p>
  
  <p>The problem is that i get .webp image, but i need .jpg file. Can I somehow convert blob that i get from ajax response and convert to jpg?</p>
  
  <pre><code>request.data.forEach((item, key) =&gt; {
      $.ajax({
          xhrFields: {
             responseType: 'blob'
          },
          url: item.src,
          type: "GET",
          success: (data) =&gt; {
              var url = window.URL || window.webkitURL;
              chrome.downloads.download({
                  url: url.createObjectURL(data) ,
                  filename: `${item.type}${key}${item.fileName}`,
              });
          },
          error: (err) =&gt; {
              console.log("error ", err);
          }
      })
  });
  </code></pre>