Remove all objects except ...
Using pdfToolbox, you are able to remove all objects from a PDF document except those which are defined by one or more checks. This tutorial shows:
- How to remove objects in a PDF document except of text and vector objects?
- How to remove objects in a PDF document except of images?
Open the attached PDF document in pdfToolbox (File > Open)
The PDF document has text objects, vector objects and images.
Create a new callas pdfToolbox Fixup
- Click on the Fixup action button.
- Choose "Create New callas pdfToolbox Fixup".
In the search field search to "Remove all objects except"
- Select the "Remove all objects except" Fixup.
- Choose "All text objects".
- Click on the "plus" button to add a second check.
Save the created Fixup
- Change the Fixup name into "Remove all objects except text and vector".
- Click "OK".
Create a second callas pdfToolbox Fixup
- Click on the Fixup action button.
- Choose "Create New callas pdfToolbox Fixup".
In the search field search to "Remove all objects except"
- Select the "Remove all objects except" Fixup.
- Change the check into the Fixup.
Save the second created Fixup
- Change the Fixup name into "Remove all objects except images".
- Click "OK".
Go to the open Fixups dialog

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

- Select the "Remove all objects except text and vector" Fixup.
- Click "Fix" to apply the Fixup on the PDF document loaded in pdfToolbox.
Save the output PDF document

- Save the PDF document as "All objects removed except text and vector".
- Click "Save"
The preflight report

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

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

- Select the "Remove all objects except images" Fixup.
- Click "Fix" to apply the Fixup on the PDF document loaded in pdfToolbox.
Save the output PDF document

- Save the output PDF document as "All objects removed except images".
- Click "Save".
The preflight report

0 Comments
Send Your Comment