A program that divides a PDF file into a grid and place every section on a separate page.
Suppose I want to divide each page of a PDF file into four coordinates evenly, then
go run main.go --input input.pdf --output output.pdf --cols 2 --rows 2
The final output will be:
- Page 1: upper left section of original page 1
- Page 2: upper right section of original page 1
- Page 3: lower left section of original page 1
- Page 4: lower right section of original page 1
- Page 5: upper left section of original page 2
- ... and so on
Note: A unidoc license is not included.