I want to a Workers to render a Canvas (which can change depending on input) and send it as a response. However, I’m having a lot of trouble finding a solution that can render to images when run as a Cloudflare Worker.
I wanted to use the Rust
resvg library, however it depends on
libcairo (most node.js libraries do as well). Is there any way I can integrate
libcairo (or any native library for that matter) in a Cloudflare Worker? I know this is possible with AWS Lambda, but I’m very interested in trying out Cloudflare’s platform instead.