Skip to main content
joshweiland
Known Participant
June 25, 2012
Answered

Discarding cropped areas of pages

  • June 25, 2012
  • 15 replies
  • 101050 views

I am taking PDFs of documents made for printing and reformatting them & compressing them to be downloadable PDFs on our website.

This requires cropping some pages manually using the crop tool.  I then use the PDF Optimizer to compress the file into a web suitable file size.

I just realized that cropping a page DOES NOT discard the content outside of the crop. Even after using PDF Optimizer or Reduce File Size, the content outside of the crop still remains. Anyone with Acrobat can remove the crop or change the crop.

I'm trying to create PDFs with the smallest file size possible, so it's silly to keep the content outside of the crop. Is there a way to discard this content?

Correct answer Lilbert Go

Hello,

This worked for me:

1.) Visit this YouTube video for instructions.

Adobe Acrobat:crop pages and remove all objects outside of the page area as defined by the Crop Box - YouTube

2.) Download the Preflight fixup from this blog.

Proficiografik   -  Acrobat 9 - When the crop tool is not cropping and how to fix it

Download link: http://www.proficiografik.com/sharing/CropBoxFix.kfp.zip

3.) Import the DOT-kfp file by [Cmd+Shift+X (Mac) /Ctl+Shift+X (Win)].

     Click "Options" > "Import Preflight profile".

     Select the imported fixup and click "Analyze and fix".

Goodluck and merry Christmas!

15 replies

Participant
October 23, 2024

If you use the "Recognize Text" tool after cropping, all area outside of the cropped region is disgarded as part of the recognition process. Also recognizing text usually reduces size in its own right so might help if the idea is to reduce file size.

 

This is a fix and not a solution, but wanted to post.

Participating Frequently
January 9, 2024

I'm still running Adobe Acrobat 9.0, and the inability to truly delete cropped areas of the document was maddening.

The download link in the marked answer no longer functions, but I found that I was able to "Print to PDF" using a custom page size that matches my cropped area and that appears to have created a new PDF with no extraneous information.

Absolutely baffling that the option to delete cropped data wasn't natively present.

Amal.
Community Manager
Community Manager
January 10, 2024

Hi there

 

++ Adding to the discussion

 

Acrobat 9 is an EOL application anr not supported on the latest Mac and Windows OS. For more information please go through the help page https://adobe.ly/3SaDINs

 

Regards

Amal

Participating Frequently
May 20, 2023

I found a way just now after so many hours. Download a afree MacOS or iOS app "GoodNotes". Drop a cropped PDF to GoodNotes files (not in another notebook's page), import it as a new file.  Then export it back as PDF. After the internal processing and export in GoodNotes it will be saved loslessly (the vector graphics and pictures are preserved s is) as cropped with the same cropped dimensions. 

Participating Frequently
May 20, 2023

This is the literraly 1 second solution. The file can be just drugged in and druggout to GoodNotes files. I found that some assets are preserved outside of the cropped area (shown in Illustrator), but most of them are aremoved. In any case the processed file is good to use in other apps that will not show the area outside clipped (as there are apps that just discard the clipping and will work with it as with the original file).

Inspiring
May 22, 2023

Pointing again to this built-in solution, quicker than installing a third-party app and works for Windows: Solved: Re: Discarding cropped areas of pages - Page 2 - Adobe Support Community - 4304473

Participant
April 27, 2023

Not quite sure why this wasnt updated anywhere, but the new acrobat version as of 2023, you go to your tools and pres print production and then press set pages boxes... then press constrain page proportions then press ok

Participating Frequently
May 20, 2023

It did nothing to the file, still kept the area outside inthe file.

Inspiring
August 30, 2021

Folks commenting about newer versions have it right. Protect>Remove Hidden Information pops open a dialogue with the option to remove "Deleted or cropped content." Simple and built in.

Participant
January 17, 2022

YES! This is the right answer and needs to be marked as correct! This is the up to date answer. Thank you so much for sharing!!!

Legend
May 19, 2018

maplekiwi, your steps set the crop box, but they do not disacard any information, so this isn't a solution to the original problem (though it might be that your needs are different and that's fine for you).

Lilbert GoCorrect answer
Participant
December 23, 2016

Hello,

This worked for me:

1.) Visit this YouTube video for instructions.

Adobe Acrobat:crop pages and remove all objects outside of the page area as defined by the Crop Box - YouTube

2.) Download the Preflight fixup from this blog.

Proficiografik   -  Acrobat 9 - When the crop tool is not cropping and how to fix it

Download link: http://www.proficiografik.com/sharing/CropBoxFix.kfp.zip

3.) Import the DOT-kfp file by [Cmd+Shift+X (Mac) /Ctl+Shift+X (Win)].

     Click "Options" > "Import Preflight profile".

     Select the imported fixup and click "Analyze and fix".

Goodluck and merry Christmas!

Participating Frequently
January 7, 2017

This is exactly what I was looking for.... Thank you! This should be marked as the correct answer, not mine.

I hope people looking for an answer find this. That fixup did the trick and allowed me to run it through Automator Combine PDF Pages with no reversion of defined crop/trim/media boxes.

The fixup provided does work but, more importantly, after looking into the custom fixup used in the profile, it is very very clear that the option for "Remove objects outside page area" has been an option the whole time.

Wish Adobe had just said that, though the folks answering with that standard reply above might be working from a handbook/script/procedure.

Thanks again!

Participant
May 12, 2017

nmgrant176,

I started to do the steps you pictured in your post, but as I was doing them, I found another option I liked better. I did not care for the idea of "deleting hidden objects" and even "removing objects outside page area" sounds a little dangerous to me because I was afraid it might delete things that are unknown to me, so the solution I settled on to Permanently Delete Crop in Adobe Pro XI was this:

The first thing to do is create a custom “Fixup”. You only do this step the first time.

Tools>Print Production>Preflight> Options button> Create New Preflight Fixup...

This window pops up:

Name: Delete Crop (name it anything you want)

Fixup Category: Pages

Type of Fixup: Set page geometry boxes

Set pagebox: MediaBox

Dimension based on: Relative to CropBox

Leave all the other settings seen above in the screen shot.

“MediaBox” is the original un-cropped size of sheet.

“CropBox” is cropped size of sheet.

Once you have created your custom Fixup, these are the only steps you need to follow:

Crop all the pages in your document that you want to crop.

Notes:

- You only have to run this Fix on your entire document one time after you are done all cropping.

- When you click the “Fix” button at the bottom, Adobe will 1st prompt you to Save your document; you can give it a different name if you want to compare it to the original.

Keyboard shortcut for Preflight: Ctrl + Shift + X

Click little Wrench Icon for “Select single fixups”.

Select Delete Crop (the custom fixup you created).

Click little Fix button at lower right.

 

After you run “Delete Crop” Fix, the Results Tab will open.

If you drill down to Pages and Page Information, you will see the MediaBox is now the same size as the CropBox.

If you click anywhere else before you are done reading your results, they will disappear and you won't be able to get back to them.

 

Test drawing:

original = 16,544 kb

fixed = 16,542 kb

Thanks for getting me headed in the right direction!

Participating Frequently
October 24, 2016

Will @Adobe ever give us an answer to this? People have been asking this question for six years. I remove hidden content outside the cropbox area and by PDF goes from ~40MB to ~850MB. This is using the Remove Hidden Information feature. How is that even possible??

Please, answer? Fix?

onkesh
Adobe Employee
Adobe Employee
October 26, 2016

Hello nmgrant176 ,

We are sorry that you are facing such issue. But, we are unable to reproduce the issue at our end and need your help.

Can you answer the following questions that will help us look deeper into the issue:

  1. What is the version of Acrobat Pro DC that you are using?
  2. What is the OS version of your system?
  3. Can you please share the files you are facing issue with, if not confidential?
  4. Can you please share any screenshots or screen-recording?
  5. Can you please provide the exact steps or the workflow that led to the issue.

Thanks,

Adobe Acrobat DC Team

Getting version of Application (Acrobat DC)

  • Click on Help menu in application
  • Click on About Adobe Acrobat DC…
Participating Frequently
October 26, 2016

Thank you for being thorough in your response and asking all of these questions. I have verified that the Remove Hidden Information does indeed expand the document size, specifically the images (as others have reported here and I don't think my DC version has anything to do with it nor my OS.) And you know what? I could actually live with my PDF being 10x the size IF it actually did delete the extra page content outside of the set crop box.

The bigger question that I want an answer to is why we can't permanently crop something... The set crop box will be ignored by other programs such as the Automator function Combine PDF Pages and my crop is then undone after running that function. I realize you want it to be non-destructive but the ability to perma-crop a document would be invaluable. Even if the function was hidden in a deep sub-menu, it should still be a choice if I want to destructively remove content/empty page space outside of my printer marks (even if it is Apple's fault for not honoring the pretty much de-facto PDF standards set forth by Adobe.)

Participant
February 8, 2016

I have a solution — it's the some solution mentioned already. (Preflight fixup to remove items outside Trim.)

I found this page because I'm having a unique (related) problem. This solution works flawlessly on a Mac. It's corrupting the other objects on the page in Windows, however.

Assuming you're working in a prepress environment, and you're exporting PDFs out of InDesign with Bleed and Crop and Registration marks: The stock fixup, "Remove page objects which are completely outside of page area," does not work, as it is set to remove objects outside the Media box. (If your PDF has a Media box that is defined as the Trim box or that is indeed your page bounds, then this fixup may work for you.) You need to create a new one.

You can duplicate it, and click on Edit and change "Completely outside:" from Media box to Trim box.

And yes, you can also create a fixup to automatically set the Crop (or Media) box to the Trim box. You can even make one that combines these fixups. I have, and as I said, it works without issue — on a Mac.

I've distributed it to coworkers who are using the same version of Acrobat (X/10) on Windows, and it does what it's supposed to, only something gets corrupted. It's like the first 4 or 5 lines have the leading set to 0, and they all munge up together on one line.

Removing just objects outside Bleed doesn't create this issue. But, as the Bleed sometimes contains sensitive info (slugs), I want to remove these.

Has anyone else seen this, and can anyone offer any suggestions?

Participant
January 28, 2016

In case this is not so late as to be useless, a little javascript seems to be the best tool for this job. I struggled with preflight and other options (such as sanitize and remove hidden information and PDF optimize), none of which set the media box (i.e. the whole page area, similar to the pasteboard in InD) to the crop box. This did the trick -

for (var p=0; p<this.numPages; p++) {

  this.setPageBoxes({cBox: "Media", nStart: p, nEnd: p, rBox: (this.getPageBox ("Crop", p))});

  }

This can be established as a function and then called from an action or a menu item, or this "raw" js can be used in a custom action.

I am more or less totally ignorant of js, so creating an interface to select isolated page numbers to run the get and set PageBox(es) functions is well beyond me. Of course one could simply use a single line to run it on the current page, simply substituting for p whatever the code is for the current page (I think it's this.PageNum):


 this.setPageBoxes({cBox: "Media", nStart: p, nEnd: p, rBox: (this.getPageBox ("Crop", p))});


Hope this is helpful to someone. It solved a major problem for us creating ebook covers from traditional cover spreads and deleting the leftover spine and non-used cover content.

Legend
January 28, 2016

I should add that this does not address the original subject (though I hope it's useful). Setting the Media Box also does not remove the invisible objects.