Introducing ‘Set Page Boxes API’ from pdfRest: Precise Control to Crop, Resize, and Optimize PDFs

Eric Shore is the Chief Innovation Officer at Datalogics, where he leads a talented team of software developers and PDF experts. Eric has an extensive background in engineering management and software development focused on native code toolkits and SDKs, document processing, production pipeline efficiency, digital asset management, and data analytics. … Read more


pdfRest, a leading provider of cloud-based PDF processing solutions, is excited to announce the launch of its new Set Page Boxes API Tool, offering developers unprecedented control over the fundamental layout of PDF documents. This powerful API enables users to directly set and edit the MediaBox, CropBox, BleedBox, TrimBox, and ArtBox, unlocking sophisticated document preparation capabilities for a wide array of digital and print requirements.
Understanding and manipulating PDF page boundaries is crucial for ensuring documents are displayed, printed, and processed as intended. The brand-new Set Page Boxes API provides granular control over these key areas, empowering developers to implement powerful features within their applications.
Introducing Precision in PDF Layout Management
This API allows for detailed adjustments to the five primary PDF page boundary boxes:
- MediaBox: Define the physical paper size of the PDF page.
- CropBox: Specify the precise visible area of the page content, ideal for cropping PDFs and removing unwanted white space.
- BleedBox: Determine the extra margin area that extends beyond the trim box, essential for professional printing with bleed.
- TrimBox: Indicate the final intended size of the printed page after trimming.
- ArtBox: Define the boundary of the actual artwork or meaningful content on the page, crucial for design and pre-press workflows.
This API allows developers to programmatically address various document preparation needs, such as optimizing PDFs for specific display sizes, ensuring accurate print output with proper bleed and trim, and extracting content based on defined art boundaries. Developers can readily automate the process of resizing PDF pages or adding bleed to PDFs within their workflows.
Key Advantages for PDF Professionals
- Granular Control: Offers direct manipulation of all five essential PDF page boundary boxes.
- Accuracy and Reliability: Built on robust Adobe PDF processing technology, ensuring precise application of specified coordinates and dimensions.
- Streamlined Integration: RESTful API design facilitates easy adoption across diverse programming languages and platforms.
- Automation Ready: Enables the automation of critical document preparation tasks, saving time and reducing manual errors.
Get Started Today
Explore the brand-new Set Page Boxes API Tool and its capabilities through the interactive API Lab on the pdfRest website. Comprehensive documentation, including details on the JSON request structure and code examples in popular programming languages like cURL, JavaScript, Python, PHP, and C#, is available in the pdfRest API Reference Guide and the pdfRest GitHub repository.
The Set Page Boxes API provides developers with a powerful new tool to achieve a high level of precision and automation in their PDF document workflows, ensuring optimal presentation and processing for any scenario.
Datalogics, Inc. provides a complete SDK for PDF creation, manipulation and management for companies around the globe. Built on Adobe source code, our flagship product Adobe® PDF Library offers a choice of programming platforms and languages along with unsurpassed customer service, proven by our 94% customer retention rate. Datalogics offers…
Read more