Comments (5)
What I had in mind is output like this (plus margins):
from pdftilecut.
Your input's height is 6.86 inches. The output has 1 inch margin, so the height ends up being 8.86 inches. That's smaller than 11.6 inches of an A4, so that one's fine.
The width is not A4 because the size you specify isn't the output size, it's the "maximum output" size. And it's the size, including the margins.
The tiles are sized such that they all have the same size and they're all under the page size specified. Both of which are true in the output.
from pdftilecut.
Yep, as I explained in the other issue, to avoid having a final tile that's potentially 2mm wide (in your case) and unusable, the tile sizes are maximum, and not exact. pdftilecut then ensures that all tiles are the same size and under the maximum size specified.
from pdftilecut.
What about the seemingly arbitrary page overlaps - that seems like a bug?
I'd prefer to have the final page 2mm wide and simply discard it. Could that behaviour be added as an option?
from pdftilecut.
What about the seemingly arbitrary page overlaps - that seems like a bug?
If after trimming the output pages and stitching them together, you don't get the original content, then that's a bug. Otherwise, the amount of overlap is not something that's guaranteed or otherwise important at all.
I'd prefer to have the final page 2mm wide and simply discard it. Could that behaviour be added as an option?
I have no use for this, but PRs are definitely welcome.
from pdftilecut.
Related Issues (18)
- Do less string replace
- Add cmd line args for various settings HOT 2
- Use path clipping
- Not working due to "cannot find MediaBox for page" error HOT 3
- How can I set the output size to 100% instead of the default "Small increase in output size." HOT 12
- Output Page Sizes HOT 1
- Landscape A4? HOT 4
- The file “out.pdf” could not be opened. HOT 2
- I'm not sure what pdftilecut can or can't do... HOT 1
- Use go-releaser
- Installation instructions for Fedora HOT 2
- Preserve scale HOT 2
- cannot find MediaBox for page HOT 2
- Remove generated "headers" completly HOT 2
- Tiles are not to scale HOT 1
- Page size is wrong
- Is it possible to adjust the margin size?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdftilecut.