Lucas Smith
06071ea035
fix: memory leak in PDF to images conversion ( #2325 )
...
Add proper cleanup for PDF.js pages and loading task to prevent memory
leaks when
processing multiple PDF pages. Ensure page cleanup is called after each
page is
rendered and both PDF document and loading task are properly destroyed
with error
handling.
2025-12-16 11:34:30 +11:00
Ted Liang
c5032d0c43
refactor: extract image-helpers ( #2261 )
2025-12-09 09:19:49 +11:00
Lucas Smith
c4f89a87a2
fix: use skia-canvas with pdfjs to avoid N-API errors ( #2281 )
...
Use custom CanvasFactory for pdfjs so we can continue to use
skia-canvas.
2025-12-04 23:26:08 +11:00
Lucas Smith
26a36487d4
fix: pass canvas context to napi-rs/canvas ( #2276 )
2025-12-04 11:19:44 +11:00
Lucas Smith
7a94ee3b83
feat: add ai detection for recipients and fields ( #2271 )
...
Use Gemini to handle detection of recipients and fields within
documents.
Opt in using organisation or team settings.
Replaces #2128 since the branch was cursed and would include
dependencies that weren't even in the lock file.
https://github.com/user-attachments/assets/e6cbb58f-62b9-4079-a9ae-7af5c4f2e4ec
2025-12-03 23:39:41 +11:00