19 Commits

Author SHA1 Message Date
b5239e14b6 Add color mode feature, rendering e.g. in dark mode 2024-11-27 15:48:58 +01:00
f7b9036063 Apply cargo hint 2024-02-01 18:31:30 +01:00
72e19cd5a2 Show only single page on left when at last page
This way one can easily see when the last page is reached
2023-11-28 09:42:20 +01:00
79ddd2680b Run clippy fix 2023-11-28 08:27:56 +01:00
1e6b9fc337 Cache initial pages directly with best resolution 2023-11-27 10:40:11 +01:00
78bc8b1e64 Increase cache size and pre-cache resolution
Improve performance by not caching pages which would have to be removed
from cache anyways
2023-11-23 12:46:19 +01:00
9240db298d Fix initial pages being not rendered in max res 2023-11-23 12:40:28 +01:00
1a7f7498cd Implement pre-caching with lower resolution 2023-11-23 12:23:20 +01:00
75e1da0097 Implement custom command channel (not async) 2023-11-23 11:54:08 +01:00
bb3e547660 Use env_logger and debug! instead of println! 2023-11-23 10:15:53 +01:00
e9b2263276 Apply cargo fix 2023-11-23 09:35:18 +01:00
5659707132 Make render-caching work!!! 2023-11-22 21:45:00 +01:00
b98ca6c9f6 Managed to render to png, still only proof of concept 2023-11-22 19:35:16 +01:00
21ea774a00 Taking time for drawing and caching 2023-11-21 19:16:54 +01:00
2ff15bbce0 Fix clippy warnings 2023-11-21 18:30:34 +01:00
874120108b Remove commented code 2023-11-21 18:20:05 +01:00
a9729005ff Fix cargo warnings 2023-11-21 18:16:27 +01:00
cea989f194 Managed to make async pdf loading work
Major clean-up necessary!!!
2023-11-21 12:58:12 +01:00
d71a2dab66 Tried implementing real async loading, using libpdfium instead of libpoppler
pdfium does not find library yet.
Major clean up needed
2023-11-21 00:45:38 +01:00