Crop images in a worker

Hello, i need to crop a image into 3 parts on a worker. Is there a library which doesnt rely on document or some other API not supported by the workers runtime? Thanks yall!
2 Replies
AGill
AGill4d ago
I'm using Jimp in my CF pages app. Looks to have a crop method: https://jimp-dev.github.io/jimp/api/jimp/classes/jimp/#crop
Jimp
Jimp
louis
louisOP4d ago
Thx i will check it out! Hey, thank you! That worked like a charm!!

Did you find this page helpful?