自分用
ツールインストール
sudo yum install -y texlive-pdfcrop qpdf poppler-utils
ページ切り抜き
qpdf --empty --pages [もとのPDFのパス] [ページ番号] -- [出力PDFのパス]
ページサイズの確認
pdfinfo [出力PDFのパス] | grep -i size
出力例)
$ pdfinfo esp32c3_schematic.pdf | grep -i size
Page size: 842 x 1191 pts (A3)
File size: 456706 bytes
サイズ切り抜き
pdfcrop --bbox "[left] [bottom] [right] [top]" [もとPDFのパス] [出力PDFのパス]
左下が(0,0)なので注意
A3の下半分を切り抜いてA4にする例
pdfcrop --bbox "0 0 842 595" original.pdf lower.pdf