Split each PDF page in two?

后端 未结 10 2105
天命终不由人
天命终不由人 2021-01-30 11:39

I have a large number of PDF files which have two slides to a page (for printing).

The format is A4 pages each with two slides setup like so:

-----------         


        
10条回答
  •  无人及你
    2021-01-30 11:49

    mutool works brillantly for this. The example below will chop each page of input.pdf into 3 horizontal and 8 vertical parts (thus creating 24 pages of output for each 1 of input):

    mutool poster -x 3 -y 8 input.pdf output.pdf
    

    To install mutool, just install mupdf, which is probably packaged with most GNU/Linux distributions.

    (Credits to marttt.)

    On debian based linux systems like ubuntu, you can install it using

    sudo apt install mupdf
    sudo apt install mupdf-tools
    

提交回复
热议问题