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

Open the Fixups dialog

Import the attached fixup

Apply Fixup
  1. In the search field search to "Remove all objects using spot color with specified name".
  2. Select the Fixup "Remove all objects using spot color with specified name".
  3. Click "Fix".

Specify spot color name

Specify spot color name
  1. Enter the value "SPOT BLUE".
  2. Click "OK".

Save the PDF file

Save the PDF file
  1. Save the PDF file as "Remove spot color".
  2. Click "Save".

Analyze the preflight report

Analyze the preflight report

A green tick shows, the PDF file is successful preflighted.

Analyze the processed PDF file

  1. 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.

  1. Select View "Object inspector".
  2. Select the text box.
  3. Select "Text (filled)"

The text will be removed.

Search Fixup

Search Fixup
  1. In the search field search to "Remove all objects using Registration color inside TrimBox".
  2. Select the Fixup "Remove all objects using Registration color inside TrimBox".
  3. 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.

  1. Click "Cancel".

Apply the Fixup

Apply the Fixup
  1. Click "Fix".

Save the PDF file

Save the PDF file
  1. Save the PDF file as "Remove registration color".
  2. Click "Save".

Analyze the preflight report

Analyze the preflight report

A green tick shows, the PDF file is successful preflighted.

Analyze the processed PDF file

  1. Select "Regular page view".

The registration text inside the TrimBox is removed.

Watch us removing objects from PDFs:

0 Comments

Send Your Comment

E-Mail me when someone replies to this comment