Remove all objects except ... (8.3)

In pdfToolbox you are able to remove all objects from a PDF document except those who are defined by one or more checks. This tutorial shows:

  1. How to remove objects in a PDF document except of text and vector objects?
  2. How to remove objects in a PDF document except of images?

Attached Files

Open the attached PDF document in pdfToolbox (File > Open)

The PDF document has text objects, vector objects and images.

Open the Fixups dialog (Tools > Fixups)

Create a new callas pdfToolbox Fixup

  1. Click on the Fixup action button.
  2. Choose "Create New callas pdfToolbox Fixup".

In the search field search to "Remove all objects except"

  1. Select the "Remove all objects except" Fixup.
  2. Choose "All text objects".
  3. Click on the "plus" button to add a second check.
  1. Choose "All vector objects".

Save the created Fixup

  1. Change the Fixup name into "Remove all objects except text and vector".
  2. Click "OK".

Create a second callas pdfToolbox Fixup

  1. Click on the Fixup action button.
  2. Choose "Create New callas pdfToolbox Fixup".

In the search field search to "Remove all objects except"

  1. Select the "Remove all objects except" Fixup.
  2. Change the check into the Fixup.

Save the second created Fixup

  1. Change the Fixup name into "Remove all objects except images".
  2. Click "OK".

Go to the open Fixups dialog

Go to the open Fixups dialog

In the search field search to "Remove all objects except"

In the search field search to "Remove all objects except"
  1. Select the "Remove all objects except text and vector" Fixup.
  2. Click "Fix" to apply the Fixup on the PDF document loaded in pdfToolbox.

Save the output PDF document

Save the output PDF document
  1. Save the PDF document as "All objects removed except text and vector".
  2. Click "Save"

The preflight report

The preflight report

The processed PDF document

All the images in the PDF document are removed.

Close the processed PDF document

  1. Click "plus" button to close the PDF document.

Open again the original attached PDF document in pdfToolbox (File > Open)

The PDF document has text objects, vector objects and images.

Go back to the Fixup dialog by clicking on the "back" button

Go back to the Fixup dialog by clicking on the "back" button

In the search field search to "Remove all objects except"

In the search field search to "Remove all objects except"
  1. Select the "Remove all objects except images" Fixup.
  2. Click "Fix" to apply the Fixup on the PDF document loaded in pdfToolbox.

Save the output PDF document

Save the output PDF document
  1. Save the output PDF document as "All objects removed except images".
  2. Click "Save".

The preflight report

The preflight report

The processed PDF document

All the text and vector objects in the PDF document are removed.

0 Comments

Send Your Comment

E-Mail me when someone replies to this comment