Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Previews (Thumbnails) For More File Types #65

Closed
Icosahunter opened this issue Apr 27, 2024 · 5 comments
Closed

Add Previews (Thumbnails) For More File Types #65

Icosahunter opened this issue Apr 27, 2024 · 5 comments
Labels
Type: Enhancement New feature or request Type: UI/UX User interface and/or user experience

Comments

@Icosahunter
Copy link
Collaborator

Icosahunter commented Apr 27, 2024

PDFs and SVGs are the ones I'd like to see the most, but I'm sure there are a lot of others.
preview-generator looks like it might be a good solution.
It looks like it has built in support for thumbnail caching too, so 2 birds with 1 stone.

@CyanVoxel CyanVoxel added the Type: Enhancement New feature or request label Apr 27, 2024
@cirillom
Copy link
Contributor

preview-generator seemed like a good option, but after searching for a bit and trying to make it work it seems like it's more of a debian library.

I found this guy thumbnail. Seems to have support for way more files than preview-generator and is not debian focused. Our only problem is that both of them needs a LOT of dependencies that are not easily installed.

@Icosahunter
Copy link
Collaborator Author

Yeah, I hadn't looked at it in depth. I did notice the few things I found seemed to have tons of dependencies. I guess that's to be expected, dealing with all sorts of file types is no easy task so you end up just grabbing libraries for each one.

Maybe one option would be to grab thumbnails from the system file manager's cache? It would be system dependent, but potentially the implementation would be simple enough to make it workable for all the major ones.

@CyanVoxel CyanVoxel added the Type: UI/UX User interface and/or user experience label Jun 7, 2024
@vitnetdev
Copy link

What is currently used for video thumbnails in this project?

@CyanVoxel
Copy link
Member

What is currently used for video thumbnails in this project?

FFmpeg

@CyanVoxel
Copy link
Member

PDF previews implemented in #543 (port of #378)
SVG previews implemented in #540 (port of #442)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request Type: UI/UX User interface and/or user experience
Projects
Status: Done
Development

No branches or pull requests

4 participants