saplingjs / sapling

🌿 Sapling is a Node.js framework for faster-than-light web development.
https://www.saplingjs.com
MIT License
14 stars 0 forks source link

File previews #32

Open groenroos opened 5 years ago

groenroos commented 5 years ago

Uploaded files that are not images should also generate a sensible preview asset, such as a thumbnail of the first page of a PDF, type specimen for font files, etc.

groenroos commented 4 years ago

As a preview of every conceivable filetype would be impractical, need to define a list of the most used/useful files to have previews.

(Probably) easy and obvious ones:

(Probably) harder ones that would depend on demand, and availability of an easy out-of-the-box thumbnail generation lib:

Don't know if I'm missing anything obvious.