-
Notifications
You must be signed in to change notification settings - Fork 9
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 some new preview systems for common file types: #91
Comments
The Standard Library has indeed a few tools that we may consider to use for this purpose without having to dive into lower level APIs or third-party packages: Databases:
Text based data files:
Compressed archives:
Audio:
Images:
Maybe this one can be useful also:
For other file types, like PDF, XLSX, DOCX, and images, we can use a third-party package like PIL and others. In my opinion, these should not be required as runtime dependencies: the application should run with or without them but, in case they're present, it should try to use them to present more meaningful preview info. Or, in some cases, we may try to write custom functions to read and interpret the binary data, in the cases the file header is public and well documented, but I think in tends to be a more troublesome road... |
You can generate a report with sorted local links to pictures as a more compact list in the HTML document. |
Count-files is primarily a text mode, console based, application. The main functionality should be made available through the console itself. But it is an interesting feature. I think it can be added as a new option ( |
Preview for binary:
What do you think about this? |
It's a good idea. 👍 |
Originally posted by @NataliaBondarenko in #84 (comment)
The text was updated successfully, but these errors were encountered: