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

Open
Icosahunter opened this issue Apr 27, 2024 · 2 comments
Open

Add Previews (Thumbnails) For More File Types #65

Icosahunter opened this issue Apr 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Icosahunter
Copy link

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 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
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants