« All posts

A Black Box Drawn Over a PDF Isn't Redaction — Here's How I Fixed It

I fixed the issue of PDF redaction by selectively rasterizing only the necessary pages.

In developing a complete PDF editor, I discovered that simply drawing a black box over text does not achieve true redaction, as the underlying text remains selectable. My solution was to rasterize only the pages that require redaction, ensuring that the hidden content is completely removed while keeping the rest of the document intact. This approach maintains the integrity of the PDF while effectively securing sensitive information.