Page 1 of 1

How to "really" crop a PDF page

Posted: Wed Sep 30, 2015 3:17 pm
by Max SAG
Hi,

I'm using the PDF-Tools SDK v4 (DLL version is 4.0.311.0) in a WPF project (C#, XAML, .net 4.0).

I was wondering if there was a way to "really" crop a PDF file.
I'm aware of the PXCp_PageSetBox method of xcpro40.dll. It works great but it only changes the crop box of the PDF page.
The "drawback" of this method is that your cropped PDF file has the same size on the disk that the original one.

I'm looking for a way to really cut the PDF data to get a lighter PDF file (it would be non-reversible).

Do you know if it's possible using your SDK?

I hope I've been clear enough,

Thanks

Re: How to "really" crop a PDF page

Posted: Wed Sep 30, 2015 4:33 pm
by Ivan - Tracker Software
The only SDK that currently support setting crop box with redaction (removing everything outside that cropbox) is the Editor SDK.

Re: How to "really" crop a PDF page

Posted: Wed Sep 30, 2015 4:57 pm
by Max SAG
Ok, thanks for the quick answer!

Re: How to "really" crop a PDF page

Posted: Wed Sep 30, 2015 5:19 pm
by Will - Tracker Supp
:D