v0.4.1
A Release About Cutting PDF Pages
There are three new commands that will cut your PDF page in one way or another:
- Cut
pdfcpu cut [-p(ages) selectedPages] -- description inFile outDir [outFileName]
A low level command for fine grained custom page cutting.
Apply any number of horizontal or vertical page cuts:
- N-down
pdfcpu ndown [-p(ages) selectedPages] -- [description] n inFile outDir [outFileName]
Cut selected page into n pages symmetrically.
Think the inverse operation of n-up:
- Poster
pdfcpu poster [-p(ages) selectedPages] -- description inFile outDir [outFileName]
Create a poster with full control over scaling and tile size and more:
API-Change
A notable API change is an additional parameter for AddBookmarks.
The replace flag enforces deleting any old bookmarks that may be present in the input file:
AddBookmarksFile(inFile, outFile string, bms []pdf.Bookmark, replace bool, conf *model.Configuration)
As always 🙏 to all bug reporters and PRs.
pdfcpu is getting better & better every day 💚
Have fun fiddling around with your PDFs!
.. Ohh, and before jumping right in please do me a favor and click here
Changelog
- 0342a83 Bump version
- b80cf0f Fix #383
- c411201 Upgrade dependencies
- 30f3667 Fix #474
- bdf5fd1 Add replace flag to AddBookmarks
- adcdddd Fix #557
- 73c50d3 Fix #448
- e560c3e Fix #586
- add1372 Fix #483
- bb20b1e Fix #598
- 9ffd937 Cleanup
- 7059d42 Cleanup
- 256b5ef Fix #591
- 7fbccb8 Fix #467, #557, #573
- f965b0a wip
- 91d97f3 Fix #583
- 6c0092e Fix #589
- 71a87ec Fix #571
- 8295bb4 compute watermark position in floats, not ints (#610)
- 5348f88 Fix #593
- a410fdc Fix #584
- 92f7b2b Fix #575, #579
- 768cf96 Fix #571, #572
- 25f7cef Bump go.mod
- 1fab2dc Fix #566
- 6e87941 add missing refactoring due to rename (#565)