Edit images
You can use this solution to edit your images, such as rotating them or changing the coloring to negative. Refer to the sharp documentation
const imageRequest = JSON.stringify({ bucket: "<myImageBucket>", key: "<myImage.jpeg>", edits: { negate: true } })