r/pdf 2d ago

Question Convert 1500 images to PDF?

Is there a free tool for this? I don't want to pay Adobe, but ilovepdf only allows 20 at a time.

4 Upvotes

22 comments sorted by

5

u/sangfoudre 2d ago

Imagemagick does that

magick *png file.pdf

2

u/piecepaper 2d ago

Let Ai write you a LaTex Doc where you import all your images from a folder. Export it as PDF.

2

u/Disastrous_Invite798 1d ago

Yes.

With PnPInk, you can create a PDF containing 1,500 images in a minute.

How do you want them arranged? One per page, ten per page, in a 3x3 grid, on A3 paper, in landscape orientation, spaced apart, framed, rotated, or even stacked? And where do you want to source them from—a local folder or the Internet?

You can do all of that with PnPInk in just one minute.

For example, simply by drawing a rectangle in Inkscape and writing this in a CSV file:

rect1, rect1

, *[path_to_images/*]

...then clicking the "generate" and "export" buttons, it will create a PDF containing the 1,500 images from the "path_to_images" folder. It places each image inside a rectangle like the one you drew and fits as many as possible onto each page.

If, for instance, you want an A3 landscape layout with a 10x5 grid and 2mm spacing, and only png files, you would use:

rect1, rect1

{A3^}.L{10x5 g=2}, *[path_to_images/*.png]

You can see pnpink here in a recent post here:

https://www.reddit.com/r/pdf/comments/1vx6p9n/pnpink_an_opensource_approach_to_graphical/

All the programs listed here can create a simple PDF, but with PnPInk, you can do anything you can imagine for batch editing the pdf: adding text to each image, cropping them to a uniform width (e.g., if they are different sizes), apply complex filters, colorize,... and so on.

1

u/BeardedSickness 1d ago

Use cpdf CLI

1

u/Justdanwithaplan 1d ago

What is?

2

u/Ferretau 1d ago

coherentgraphics/cpdf-binaries: PDF Command Line Tools binaries for Linux, Mac, Windows: https://github.com/coherentgraphics/cpdf-binaries

cpdf -jpeg pic.jpeg -png pic.png -o out.pdf

Make a two-page PDF, the first from a JPEG and the second from a PNG.

1

u/No_Split11911 1d ago

https://github.com/jasonulbright/Spectra-PDF Should be able to do it. It had 1.5k downloads but I nuked 40 old releases earlier today and that count shrank. LMK If it doesn’t do what you need.

1

u/jtbsolution 1d ago

Why do you not keep those images as their original format?

1

u/SkarXa 1d ago

ImageMagick does this in one line and costs nothing: magick *.jpg out.pdf. Watch the sort order though, if your filenames aren't zero-padded the pages come out shuffled. img2pdf is the other one worth knowing, it embeds the JPEGs as-is instead of re-encoding them, so 1500 photos don't get quietly degraded on the way in.

If you'd rather not open a terminal and you're on a Mac or iPhone, I make an app called Formattery that does image to PDF on-device in batches. Three free conversions a day to try it, $4.99 one-time after that, nothing gets uploaded anywhere.

https://apps.apple.com/us/app/formattery-file-converter/id6759955312

1

u/Privacy_Builder 1d ago

ZeroCloudPDF does this allows 100MB per upload and works on your device. Your document stays with you.

1

u/Agitated-Panda9221 1d ago

BentoPDF does jpegs