title: I cant fetch image from S3 correctly
body: <p>i try to export images (.png) from my website to an s3 bucket, by using a node server.
  Export works well, when i go to the s3 with S3Browser i saw my uploaded images, i can download them and open them : no problems.</p>
  <p>But when i fetch them from node server, and send them to my website, images turn strange.
  They cant be displayable, and their size has increased.</p>
  <p>Can u help me to figure why please ?</p>
  <p>Code to upload from node js (seams working) :</p>
  <pre><code>  const params = {
      Bucket: 'iologo-app/images/patient-profile-picture',
      Key: uuid + '.png',
      Body: req.files.img.data
    }
    const errLogs = params.Body ? 'Error uploading the file : ' + params.Key + '. Error : ' : 'Error creating the bucket folder.' + params.Key + '. Error : '
    return await async.retry((cb) =&gt; {
      S3.upload(params, cb)
    }, (err, res) =&gt; {
      if (err) {
        console.log(errLogs, err)
        return err
      }
    })
  </code></pre>
  <p>Code to download from node js (seams not working) :</p>
  <pre><code>S3.getObject(params, function (err, data) {
    if (err) {
      console.error(err)
    } else if (data) {
      data.ContentType = 'image/png'
      return callback(null, data.Body)
    }
  })
  res.status(200).send(results.getFile)
  </code></pre>
  <p>Code to transform the data fetch from node into File object, from my website :</p>
  <pre><code>.then((res) =&gt; {
    const photo = res.data
    const photoFile = new File([photo], 'fetchedPatientPhoto.png', {
      type: 'image/png'
    })
    commit('setPhotoFile', photoFile)
    return true
  })
  </code></pre>
  <p>Image showing the File object before import (at top), and the copy created and fetched from S3 (at bottom) <a href="https://i.stack.imgur.com/YxTf1.png" rel="nofollow noreferrer">here</a>.</p>
  <p>Thanks.</p>