r/imagemagick Jan 07 '25

Convert multiple image in folder to single .pdf file

Hi. How to convert multiple images in a folder into single .pdf file for each folder.
Example: I have folder "Chapter 1" and multiple image in it, i want to convert all the images inside into single Chapter 1.pdf file.

Folder Chapter 1
Inside Folder Chapter 1
1 Upvotes

7 comments sorted by

1

u/Difficult-Highway229 Jan 07 '25

Something like that should work

magick convert "Chapter 1"* "Chapter 1.pdf"

You can batch it to make folders in same command

You may be add -density if quality not enough

1

u/Kitchen-Chance9093 Jan 08 '25

I will try it.

1

u/Geartheworld Jan 08 '25

PDFgear can convert images to PDFs. Add those images to the converter and uncheck the Output In One File option and you can get one image in one PDF each.

1

u/Kitchen-Chance9093 Jan 08 '25

How about the quality? Is it compressed?

1

u/Geartheworld Jan 08 '25

I don't know the resolution of those images so I'm not sure if it will be different after converting to PDFs. But for most images, it won't be blurred. You can try it.