2

My objective is actually cropping a PDF file with PdfClown. There are a lot of tools/library that allow cropping PDF, changing the PDF cropBox. This permits hiding contents outside a rectangular area, but content is still there, it might be accessed through a PDF parser and PDF size does not change.

On the contrary what I need is creating a new page containing only the contents inside the rectangular area.

So far I've tried scanning contents and selectively cloning them. But I didn't succeed yet. Any suggestions on using PdfClown for that?

I've seen someone is trying something similar with PdfBox Cropping a region from a PDF page with PDFBox not succeeding yet.

4

1 に答える 1