0

I need to remove some area from my pdf file. First I am uploading a PDF file using core PHP code, then I want to remove or add white space by providing x, y coordinate points.

I need help to do this using PHP code?

Suraj Kumar
  • 5,547
  • 8
  • 20
  • 42
  • Content in PDF files is usually contained in layers and objects. For example, you can add a white box at X,Y coordinates, but the content beneath will still remain (even though it may not be visible). If you need to properly sanitise a section of a PDF document, then you will need to actually remove/edit existing layers. – Serge Feb 16 '19 at 06:40
  • Adding white box is fine for me, but is there any PHP lib available to achieve this? – Nikhil Jadhav Feb 16 '19 at 06:45
  • Possible duplicate of [PDF Editing in PHP?](https://stackoverflow.com/questions/7364/pdf-editing-in-php) – Serge Feb 16 '19 at 06:49

0 Answers0