WIP:Pdf optimizations#780
Conversation
d3e28e4 to
2a1217b
Compare
|
Sorry I haven't gotten to looking at this yet, I'm hoping to have some time tomorrow to give it a review |
There was a problem hiding this comment.
Overall I think this looks good, I had a couple of suggestions but nothing major. I'll try and actually test this out and see how it renders things during the week.
Also if you prefer I try and make the suggested changes let me know, I don't mind
2a1217b to
cb38f98
Compare
|
running the build process to check everythings works. I did things the wrong way around. EDIT: The build compiles and works. The page rendering performances are still not great imo. I havn't found the perfect settings yet. But it's much better then before. |
- Add configurable DPI, dimensions, and output format settings - Implement disk caching system with atomic file operations - Add pre-rendering of adjacent pages for faster navigation - Support multiple quality modes (high quality vs fast rendering) - Add smart cache key generation based on file metadata - Implement background pre-rendering tasks with concurrency limits - Support WebP, PNG, and JPEG output formats - Add environment variable controls for all PDF rendering options - Route PDF files through enhanced caching system for better performance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
cb38f98 to
211d24f
Compare
aaronleopold
left a comment
There was a problem hiding this comment.
This looks good to me! I'll do a little local testing before merging it in, thanks!
This is a new PR, doubling down on pdfium as backend. It provides, I hope, some improvements to PDF rendering.