Test redaction of sensitive text inside images
9 February 2026
Inspect the image pixels as well as the PDF’s text layer. A search can return no matches while the sensitive text remains legible in the scan.
Use a synthetic badge with an invented reference printed into the picture. Give it a separate OCR text layer containing the same reference. Keep an untouched original and generate a release candidate through the exact export process being evaluated. No real identity document is needed for the test.
Prove the controls can find the original reference
Render the original page and confirm a reviewer can read the invented reference in the badge. Then extract text from the PDF and confirm the OCR layer exposes it independently. If the baseline extraction finds nothing, that tool cannot demonstrate removal of the text layer in this test.
Examine the image objects as well as the rendered page. A rectangle can cover the badge in a viewer while leaving the underlying image recoverable. Conversely, removing the OCR text can leave every original pixel visible. ArkePDF’s redaction results distinguish text extraction, image objects and pixel checks for named synthetic files. They do not establish the behaviour of a different application or export. Synthetic redaction results
Check the exported copy by two routes
| Route | What to inspect | What would keep the file on hold |
|---|---|---|
| Visible page and recoverable images | Render at a scale that made the original legible. Inspect embedded images in the saved output, including those hidden behind overlays. | The reference can still be read on the page or in an extracted image. |
| Text and OCR | Search the release copy and extract its text independently of the visible appearance. | The invented reference remains in the text output, or the baseline check was inconclusive. |
An image count alone is insufficient. A safe replacement image can still exist, while one unexamined object can contain the original badge. Record the checked region and the method rather than requiring every unrelated pixel on the page to be white.
Bind the result to the file that will be shared
Record the release file’s digest, tool versions, findings from both routes and any untested content. If either route reveals the reference, return the file for correction, export again and repeat both checks. A pass supports this specific image-text test on these bytes. Attachments, other pages and metadata need their own review where applicable.
Part of the How to redact a PDF properly guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
