Louis Russo-Pelosi

Results 7 comments of Louis Russo-Pelosi

facing same issue 😔 returning this in my transform function in `next-sitemap.config.js` file: will result in this in my sitemap: ![image](https://github.com/iamvishnusankar/next-sitemap/assets/46956027/c056d243-aafc-4f32-9fce-5697f127e6af) any clue? @iamvishnusankar

I haven't changed a thing... I updated my code which uses sharp, the white background removal (https://github.com/lovell/sharp/issues/4076) didn't work any more, so I rollback it but unfortunately I have the...

My snippet wasn't entirely correct, sorry. Here is my updated current snippet: ``` import axios from "axios"; import sharp from "sharp"; other imports... async function processImage(imageUrl: string) { const imageResponse...

here you go: https://github.com/LouisR-P/sharp-project/tree/main Install with `npm i` and then launch `npm start` to run the script. Here, I see a transparent image as result.

Thanks for your reply. The change you suggested seems to work, I applied it but however, I seem to have another problem. I've updated the repository with new image links,...

Okay I found the solution, I just had to convert the image to png: ```` const convertedImageBuffer = await sharp(imageBuffer) .toFormat("png") .toBuffer();