1

It's doubtless too unproductive to open "the Page Thumbnails pane on the left", and eyeball each page's dimensions.

In the screenshot below, all pages have the same dimensions from page 575 onwards, but up until this point I've found five that have different dimensions (like page 574).

enter image description here

Using Adobe Acrobat, is there a more efficient way to delete all pages within a document that are not of a particular size?

1

One "simple" possibility is to activate the Console, and loop through the pages and read out the cropbox dimensions. If you know the correct dimensions beforehand, you can create a list of the pages to be deleted. Then run a command to delete those pages, starting from the highest pagenumber to page 0.

To list the page dimensions, you could run this script:

for (var i = 0 ; i < this.numPages ; i++) {
console.println("Page " + i + "     " + this.getPageBox("Crop", i) ;
}

That lists the page number and the coordinates of the Crop box for every page of the document, which you can then interpret manually.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.