SOT: merging pdf files (ILovePDF)

Jun 16, 2024 Last reply: 2 years ago 2 Replies

After merging several pdf files, pages from different files are different sizes in the final version. All scans were from A4 pages using the same scanner. Any ideas what has happened here? Thanks


On further investigation, it seems that 'Print to pdf' creates a different page size to 'Save as'.

There are a couple parts to a scan like that.

The image has not been lost. What the scanner did.

It may also have done OCR and overlaid text on the images. That can be extracted as font resources, but probably not recycle-able.

The basic scan has not been lost.

formatting link
# Put mutool.exe and the PDF into a separate folder. # Quite a few files will be extracted, and you can keep # the mess separate.

mutool extract 2023TrekOwnersManual.pdf

extracting image-0005.jpg extracting image-0013.png extracting image-0015.png extracting image-3375.jpg (a 1485 x 1485 picture, too big for my new page)

You'll need to convert the image files back into PDF, but this time, with a bounding box.

*******

My attempts to do a good job of that, aren't working out. The image appears on the page, but the page is the wrong size. Or at least, on conversion back into an image, as a form of checkprint, it's wrong.

Maybe someone else has a tool that works properly.

Paul

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required