Commit Graph

13 Commits

Author SHA1 Message Date
Hydrus Network Developer d0f2c97a04
Version 595 2024-10-23 15:26:37 -05:00
Paul Friederichsen 072b44a03b
Add support for playing Ugoira files (#1611)
* Add support for playing Ugoira files

* Use SmoothPixmapTransform for animation rendering

* Also get ugoira frame times from notes

* Reduce number of calls to get ugoira duration

* Cache calls to GetUgoiraFrameDataJSON

* Remove some test prints

* Add some extra checks to ugoira note parsing and accept alt json format

* Update filetypes in docs

* Fix a path in filetype docs
2024-10-19 16:25:48 -05:00
Paul Friederichsen 955a8b0f6e
Add support for legacy Microsoft Office formats (doc, ppt, xls) (#1552)
* Start working on handling legacy MS Office files

* Use olefile library to parse legacy office files

* Add additional signatures for very old office formats

* Add legacy office formats to docs

* Make olefile an optional dependency and cleanup
2024-05-18 16:09:53 -05:00
Paul Friederichsen 77ab38e50e
Improvements to MS Office filetype support (#1528)
* Update icons for MS Office filetypes

* Remove unused old PDF word count code

* Add more strict office file detection

* Remove old HydrusDocumentHandling import

* Add word count for docx and pptx and thumbnails for pptx

* Update filetypes doc

* Update filetype docs with pptx dpi

* Remove prints and clean up formatting

* Center default thumbnails inside target resolution
2024-03-16 15:35:32 -05:00
Hydrus Network Developer 7bc49e94ba
Version 566 2024-03-13 15:33:53 -05:00
Hydrus Network Developer 32e63d67e3
Merge branch 'pr/1497' into develop 2024-01-07 14:54:13 -06:00
Paul Friederichsen f46a22c855
Add ugoira and cbz to filetypes doc and note about force filetype (#1496) 2024-01-01 15:24:34 -06:00
Paul Friederichsen ba4c3d79ec Add RTF support to docs 2023-12-22 18:21:02 -06:00
Valerii Malov 408ac2aaa5
Krita full preview support (#1454)
* Krita full preview support

Mark krita files as viewable
Use same data that's used for thumbnails to generate full preview

* Parse maindoc.xml instead of doing regex magic

This should fix getting dimensions wrong for some files

* Use direct PIL image loading for Krita thumbs

* Remove unused HydrusArchiveHandling.ReadSingleFileFromZip

* Update Krita in filetype docs

---------

Co-authored-by: Paul Friederichsen <floogulinc@gmail.com>
Co-authored-by: Hydrus Network Developer <hydrus.admin@gmail.com>
2023-10-14 14:29:49 -05:00
Paul Friederichsen 882eaa2147 Add epub and djvu to filetype docs 2023-10-11 19:38:46 -05:00
Hydrus Network Developer cc964e7369
Version 543 2023-09-13 13:26:31 -05:00
Paul Friederichsen 8360fcc527
Add thumbnails for PDFs (#1421)
* Add thumbnails for PDFs

* Update HydrusPDFHandling.py

* Handle password protected and otherwise unsupported PDFs

* Fix DPI calculation

* Use new exception for encrypted PDFs

* Formatting

* Update filetype docs

* Add notes about PDF handling to filetypes doc

* Handle scale to fill thumbnails for PDFs, ROUND THE RESOLUTION
2023-09-02 14:36:17 -05:00
Paul Friederichsen 84d7e72d38
Docs update: new filetype list, search on local help, other corrections (#1430)
* Fix typo in running from source

* Add new page listing filetypes

* Add a return

* Enable searching docs when offline

* Add last updated date to docs pages and edit buttons when hosted

* Add mkdocs-git-revision-date-localized-plugin plugin to gh actions

* Correction

* Update publish_docs gh actions

* Exclude index.md from last update dates

* flv files are actually viewable in hydrus

* Add note about how Hydrus determines filetypes
2023-08-30 11:28:38 -05:00