Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here is a great collection of smallest X: https://github.com/mathiasbynens/small


So, `pdf.pdf`[0] (130 Bytes) from this repo is the smallest valid PDF?

[0] https://github.com/mathiasbynens/small/blob/master/pdf.pdf


I suspect the answer depends on how you define “valid”.


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.


I would love to see a write-up (like the SO answer) for each of those.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: