pdf2pic

A utility for converting pdf to image formats. Supports different outputs: directly to file, base64 or buffer.

vite-plugin-image-to-webp

A vite plugin which will, when building, find all .jpeg, .jpg, and .png images, convert them to .webp and then adjust the image urls accordingly.

pdf-img-convert

A simple module to convert PDF files into image buffers (without filesystem usage)