4 ms·
Here is a great collection of smallest X: https://github.com/mathiasbynens/small https://github.com/mathiasbynens/small
by NanoWar 7y ago
Here is a great collection of smallest X: https://github.com/mathiasbynens/small https://github.com/mathiasbynens/small
- oftenwrong 7y agoI would love to see a write-up (like the SO answer) for each of those.
- app4soft 7y agoSo, `pdf.pdf`[0] (130 Bytes) from this repo is the smallest valid PDF? [0] https://github.com/mathiasbynens/small/blob/master/pdf.pdf https://github.com/mathiasbynens/small/blob/master/pdf.pdf
- macintux 7y agoI suspect the answer depends on how you define “valid”.
- app4soft 7y agoI'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.