Re:What is the smallest possible valid PDF?
by anonydsfsfs on Friday March 20, 2020 @12:19PM
(#22638791)
Check out https://github.com/mathiasbynens/small
[ Parent
| on HN ]
Re:What is the smallest possible valid PDF?
by hombre_fatal on Friday March 20, 2020 @04:19PM
(#22641249)
Kinda silly including 0-byte files which is most of them. Now you're just building a list of things that take empty input.
They should move those to a simple list in the README and reserve the repo for non-empty files.
Re:What is the smallest possible valid PDF?
by lioeters on Friday March 20, 2020 @05:15PM
(#22641731)
That is indeed a nice one, "Smallest possible syntactically valid files of different types".
Following the GitHub link (datasette-render-images) in the comment you replied to, there's a code comment with a link to the same library (small).