Overview
This example demonstrates how to use Trigger.dev to turn a PDF into a series of images using MuPDF and upload them to Cloudflare R2.Update your build configuration
To use this example, add these build settings below to yourtrigger.config.ts file. They ensure that the mutool and curl packages are installed when you deploy your task. You can learn more about this and see more build settings here.
trigger.config.ts
Task code
trigger/pdfToImage.ts

