_processImage = async function({
  sourcePath,
  destLocalPath,
  destS3Path,
  width,
  height,
  fit
}) {
  const image = sharp(sourcePath);
  await image
    .resize(width, height, {
      fit,
      background: { r: 255, g: 255, b: 255, alpha: 0 }
    })
    .png()
    .toFile(destLocalPath);
  // copy to s3
  await s3.uploadFile({
    bucket: config.s3.mediaBucket,
    localPath: destLocalPath,
    remotePath: destS3Path,
    acl: "public-read",
    contentType: "image/png"
  });
  logger.info({ sourcePath, destLocalPath, destS3Path }, "image processed");
}
Process the image and upload to s3
@param {object} param0