Cloudflare Workers Creating Image Collage (Pocessing images)

I’ve been trying to process images using cloudflare workers but everything seems to fail, i know workers are for light tasks only, But i need to process an image, and spicifically fetching 2 images then stack them one on top of the other.

There’s this library called jimp, i could run on workers but in deployment i’m getting cpu time limit exceeded.