images-to-pdf icon indicating copy to clipboard operation
images-to-pdf copied to clipboard

Compress images such that resulting PDF ≤ target size

Open mLuby opened this issue 7 years ago • 2 comments

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?

mLuby avatar Jul 03 '18 05:07 mLuby

help wanted, how to compress?

arleyGuoLei avatar Sep 13 '22 11:09 arleyGuoLei

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.

mLuby avatar Sep 13 '22 15:09 mLuby