Remove objects from page based on criteria
Starting pdfToolbox 8.2, a new type of correction (Fixup) is introduced where specific objects can be removed. In the Fixup "Remove objects", the criteria are based on predefined or customised checks.
In this tutorial we remove objects using the predefined Checks:
- List spot color with specified name
- Registration color inside TrimBox
Open the PDF file "Delete_Spot.pdf" in pdfToolbox Desktop with Output preview and observe containing separations
Open the Fixups dialog

Import the attached fixup

- In the search field search to "Remove all objects using spot color with specified name".
- Select the Fixup "Remove all objects using spot color with specified name".
- Click "Fix".
Specify spot color name

- Enter the value "SPOT BLUE".
- Click "OK".
Save the PDF file

- Save the PDF file as "Remove spot color".
- Click "Save".
Analyze the preflight report

A green tick shows, the PDF file is successful preflighted.
Analyze the processed PDF file
- Select "Regular page view".
The spot color "SPOT BLUE" is removed. The other spot colors are still available.
Analyze the processed PDF file
In the second part of the tutorial I will remove all the objects in registration color located inside the TrimBox.
- Select View "Object inspector".
- Select the text box.
- Select "Text (filled)"
The text will be removed.
Search Fixup

- In the search field search to "Remove all objects using Registration color inside TrimBox".
- Select the Fixup "Remove all objects using Registration color inside TrimBox".
- Click "Edit".
Analyze the Fixup
In the Fixup the Check "Registration color inside TrimBox" is selected. It will detect objects where registration color is used.
- Click "Cancel".
Apply the Fixup

- Click "Fix".
Save the PDF file

- Save the PDF file as "Remove registration color".
- Click "Save".
Analyze the preflight report

A green tick shows, the PDF file is successful preflighted.
Analyze the processed PDF file
- Select "Regular page view".
The registration text inside the TrimBox is removed.
Watch us removing objects from PDFs:
0 Comments
Send Your Comment