What module allows me to manipulate images in Next.js?
Unanswered
noli posted this in #help-forum
noliOP
I wanna make something like https://www.bratgenerator.com/ but I don't know how to manipulate an image so I can add text to it in Next.js.
1 Reply
@noli I wanna make something like https://www.bratgenerator.com/ but I don't know how to manipulate an image so I can add text to it in Next.js.
generate image client-side:
canvas element
[html-to-image](https://github.com/bubkoo/html-to-image)
see also https://stackoverflow.com/q/10721884
generate image server-side:
[satori](https://github.com/vercel/satori)
[sharp](https://github.com/lovell/sharp)
canvas element
[html-to-image](https://github.com/bubkoo/html-to-image)
see also https://stackoverflow.com/q/10721884
generate image server-side:
[satori](https://github.com/vercel/satori)
[sharp](https://github.com/lovell/sharp)