Re:What is the smallest possible valid PDF?
by NanoWar on Friday March 20, 2020 @02:28PM
(#22640085)
Here is a great collection of smallest X: https://github.com/mathiasbynens/small
[ Parent
| on HN ]
Re:What is the smallest possible valid PDF?
by app4soft on Friday March 20, 2020 @08:16PM
(#22643082)
So, `pdf.pdf`[0] (130 Bytes) from this repo is the smallest valid PDF?
[0] https://github.com/mathiasbynens/small/blob/master/pdf.pdf
Re:What is the smallest possible valid PDF?
by macintux on Friday March 20, 2020 @08:57PM
(#22643319)
I suspect the answer depends on how you define “valid”.
Re:What is the smallest possible valid PDF?
by app4soft on Saturday March 21, 2020 @10:59AM
(#22646927)
I'm itself hard to answer to this question.
In means of "minimal valid raster image" - its raster image with 1px × 1px; in means of "minimal valid vector image" - its vector image with single dot OR single line segment.
But I can't imagine what is "minimal valid raster PDF" means.
Re:What is the smallest possible valid PDF?
by oftenwrong on Friday March 20, 2020 @02:48PM
(#22640366)
I would love to see a write-up (like the SO answer) for each of those.