Permanently redact local PDF regions
abox_pdf_redactRedact specified rectangular areas in local PDFs by rendering pages and masking those regions with opaque black pixels, then writing a new flattened image-only PDF from local JSON coordinates.
Instructions
Render every admitted unencrypted PDF page locally, replace explicitly selected rectangles with opaque black pixels, and write a fresh lossless image-only PDF. Local JSON supplies exact displayed page geometry and top-left point coordinates. Verifies every saved RGB sample, black masks and the new object graph; no source text, attachments, links, annotations or metadata objects are copied. All pages are flattened, searchable text and signatures are lost, and size can increase. Does not identify sensitive areas or prove selected coverage. Requires a local browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| regions_path | Yes | Absolute local filesystem path. URLs and network shares are refused. |