These code snippets show how to resize and crop EPS files using Aspose.Page for Java. The library enables precise manipulation of EPS page dimensions for publishing and printing workflows.
- Get the original size and resize EPS to target width/height assigned in points
- Obtain the exisiting size and resize EPS assigning new dimensions in inches
- Get the original size and resize EPS with new width/height assigned in millimeters
- Obtain the exisiting size and resize EPS assigning new dimensions in percents of original ones
- Get the original bounding box and crop EPS to a region of interest
- Reference Aspose.Page for Java in your project.
- Copy the required code snippet into your project.
- Download a temporary license and set it up as described here or use a paid license.
- Run the example.
In evaluation mode, input EPS file is limited to 500Kb. Set up a valid temporary or paid license to use these features.
See Resize and Crop EPS Files in the official documentation for more details.
- Documentation – Aspose.Page for Java
- Product page – Aspose.Page for Java
- Free Support Forum – Aspose.Page
- Blog – Aspose.Page Product Family
- API Reference – Aspose.Page for Java
- Maven repository – Aspose.Page for Java
- Java 8 or higher
- Aspose.Page for Java library