Hacker News new | ask | show | jobs
What is the smallest possible valid PDF? (stackoverflow.com)
3 points by canpolat 900 days ago
1 comments

this may be helpful. file utilities often make turds in the file.

use a hexeditor to handcraft a file, and you can trim it down to a header and footer

https://resources.infosecinstitute.com/topics/hacking/pdf-fi...