32
Views
1
Comments
[pdfJS Viewer Reactive] Pdf cropping
pdfjs-viewer-reactive
Reactive icon
Forge asset by Eduardo Jauch
Application Type
Reactive
Service Studio Version
11.54.78 (Build 63596)

Is crop functionality available in pdfjsviewer component. So how can I implement crop functionality in PDF. Thanks in advance.


Regards

Jayakumar S

2025-09-25 14-38-22
Lokesh Kumar Yadav

No, the PDF.js Viewer component doesn’t include crop functionality by default.

To add it, you’d need to customize the viewer — for example, overlay a selection area using JavaScript and then use a PDF library (like pdf-lib or jsPDF) to crop the selected region and generate a new PDF.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.