images-to-pdf
images-to-pdf copied to clipboard
Compress images such that resulting PDF ≤ target size
await imagesToPdf(["path/to/image1.jpg", "path/to/image2.png"], "path/to/combined.pdf", 10)
// path/to/combined.pdf now exists and is ≤ 10MB.
❓ Compress all images equally or compress biggest?
help wanted, how to compress?
This library is deprecated (see README).
This issue is labelled help wanted because the library doesn't currently do this "compress to target size" behavior.