© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•14mo ago•
9 replies
Proman4713 🇵🇸

Jimp and canvas on cloudflare workers

I need to generate a simple image using certain variables for my app's users to print... I was thinking of using Jimp and Canvas to create the image on the fly and return it as a response to the users. I want this to run on my Cloudflare worker since my main API is also there, and I've already gone through a lot of work to be able to make the API work on a worker, this was due to various node compatibility issues, but... I made it work!

I can't put my API on an actual server right now because the project's current state still doesn't make it worth the time or money to host a server. Besides that, I've gotten so comfortable with Workers that I can't imagine using ExpressJS or something similar.

So, is there a way I can use Jimp or canvas on Cloudflare workers? Because right now they seem to be giving me trouble
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Sharp or jimp libraries support in Workers?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3mo ago
Bcrypt on Cloudflare Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
ES Modules and Cloudflare Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago