Skip to content

[Feature Request]: migrate pdf.js to pdfium for file analyzer #6233

@Frooodle

Description

@Frooodle

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

  • I have verified that there are no existing features requests similar to my request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Front EndIssues or pull requests related to front-end developmentLong-term EnhancementEnhancements planned for the long termenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions