Feature Description
fileAnalyzer uses pdfWorkerManager (PDF.js) for isPDFUserPasswordProtected() and quickPDFAnalysis().
Encryption detection only needs a header scan; corruption checks can ride on the PDFium load result. Move both onto @embedpdf/engines so this stops being a pdfjs-dist consumer.
Files:
- frontend/src/core/services/fileAnalyzer.ts
Acceptance:
- No pdfjs-dist or pdfWorkerManager imports.
- Upload validation behaves the same on encrypted, corrupted, and clean PDFs.
Why is this feature valuable?
No response
Suggested Implementation
No response
Additional Information
No response
No Duplicate of the Feature
Feature Description
fileAnalyzer uses pdfWorkerManager (PDF.js) for isPDFUserPasswordProtected() and quickPDFAnalysis().
Encryption detection only needs a header scan; corruption checks can ride on the PDFium load result. Move both onto @embedpdf/engines so this stops being a pdfjs-dist consumer.
Files:
Acceptance:
Why is this feature valuable?
No response
Suggested Implementation
No response
Additional Information
No response
No Duplicate of the Feature