I have a folder with a bunch of images in it. Some images have a particular string in the filename, like "mhk". I need to grab only those images from that folder and put them into a PDF file, with each image having its own page.
I tried different things but I can't even get past just combining them into a single image, let alone into a PDF.
Here is what I have:
Code: Select all
magick montage `dir /b | findstr mhk` -mode concatenate -tile 1x out.png
Thanks,
Ramin