Page Description Languages (PDLs) provide a high-level description of a page's appearance, transcending the mere arrangement of pixels. These PDLs play a pivotal role by bridging computer applications like graphic design tools and text editors with output devices such as printers and displays. Typically, printing systems view pages as rectangles defined by their width (m pixels) and height (n pixels). Naturally, handling and manipulating such large files in memory, editing them, and transmitting them across distributed networks can be impractical. This solution accommodates Page Description Languages like PS, EPS, and XPS for efficient management of such tasks.
Are you seeking a dependable solution for rendering and manipulating XPS, PS, and EPS files? Look no further than Aspose.Page for Java. Our cutting-edge library empowers you to effortlessly create, modify, and convert both existing and new XPS files — all without the need for additional software.
With our intuitive API, you gain the capability to perform a multitude of operations, including:
🚀 Effortless Document Manipulation: Seamlessly manipulate document pages and elements like canvases, paths, and glyphs, granting you complete control over your content.
🖼 Create and Edit Vector Graphics: Craft and fine-tune vector graphics shapes to perfection, ensuring your visuals stand out.
🎨 Vibrant Color Control: Specify colors in various color spaces to achieve the exact look and feel you desire, giving life to your creations.
But that's not all! Aspose.Page for Java also enables developers to convert PS and EPS documents into PDF format and various raster image formats. With this versatile tool at your disposal, you can effortlessly adapt your content to suit your needs.
At a Glance
An overview of Aspose.Page for Java API.
- PS, EPS to PDF, EMF, and WMF
- XPS Format to XPS and PDF
- PostScript files to Images
- XPS files to Images
- Solid Color Brush
- Image Brush
- Visual Brush
- ICC Profile
Library can be integrated with any kind of Java application developed on Linux or Windows platform with system requirements .
- JSP/JSF Application
- Desktop Applications
- Console Applications
Supported File Formats
Aspose.Page for Java supported file formats are listed below
- Fixed Layout: XPS
- PostScript: EPS, PS
- Fixed Layout: PDF
- Images: PNG, JPEG, TIFF, BMP
- EMF, WMF
Learn more about PS, EPS, and XPS API Features:
Create or Parse XPS Documents
API creates XPS files on the fly or loads existing documents for parsing and manipulation. It can perform different operations like changing the appearance of graphics and text strings, specifying colors in different color spaces, manipulate device configuration information, user intent and much more. Java developers can easily integrate all these features with just a few lines of code.
Create XPS file from scratch - Java
// Create an XPS document XpsDocument nwDoc = new XpsDocument(); // Add a glyph to the document com.aspose.nwDoc.XpsGlyphs glyphs = nwDoc.addGlyphs("Arial", 12, XpsFontStyle.Regular, 300f, 450f, "Hello World!"); glyphs.setFill(xps.createSolidColorBrush(Color.BLACK)); // Save the result nwDoc.save(dir + "output.xps");