Fork me on GitHub

Herr Knedel/Generate PDF page overview

Created Fri, 14 Feb 2020 00:00:00 +0000 Modified Mon, 28 Mar 2022 18:27:51 +0000 Difficulty level: It may take a little longer

90 Words

If you want to create a page overview image from a PDF file, then you’ve come to the right place!

Step 1: Create working folder

Use this command to create a temporary working folder:

x
+
Terminal

$ mkdir /tmp/bilder

Step 2: Separate page

The following command creates an image of each PDF page:

x
+
Terminal

$ convert 716023b632a9cbe6cad3ab368c202288.pdf /tmp/bilder/page.png

Step 3: Mounting the images

Now the collage just needs to be put together:

x
+
Terminal

$ montage /tmp/bilder/* -shadow -geometry '400x400+2+2>' -background '#f1f1f1' uebersich.jpg