Sample Header Ad - 728x90

How to generate thumbnails/previews for files?

2 votes
2 answers
5763 views
I wrote an app for Windows and macOS and I am in the process of porting it to Linux. My app has a file browser implemented and can display thumbnails or document icons of files. On Windows I get access to the file thumbnails (or document icons if there is no thumbnail support) through the shell extensions. On MacOS I can generate the thumbnails (or document icons) through QuickLook. On Linux, what would be the way to go to... 1... generate a thumbnail e.g. for JPEGs, PNGs 2... fallback to extract document icons for the file if no thumbnail is available? Thank you!
Asked by HelloWorld (121 rep)
Jun 12, 2021, 01:04 PM
Last activity: Nov 13, 2024, 07:40 PM