Java APIs to convert PS/EPS files on the fly
Load & Convert PostScript and Encapsulated PostScript documents to PDF within any Java applicationDownload Free Trial
Aspose.EPS for Java
At A Glance
An overview of Aspose.EPS for Java API.
- Convert PostScript files to PDF
Aspose.EPS for Java fully supports the Java based applications developed in Windows Unix/Linux and Mac platforms.
- JSP/JSF Application
- Desktop Application
Supported File Formats
Aspose.EPS for Java supports PS & EPS file formats.
- PostScript: PS, EPS
Advanced Java PS & EPS Conversion Features
Convert PostScript and Encapsulated PostScript documents to PDF files
Error suppression during the conversion process
Loading system fonts from the desired location
Convert PS & EPS documents to PDF files
Aspose.EPS for Java provides the capability to export PostScript and Encapsulated PostScript documents to PDF format, with just a few lines of code.
Convert EPS to PDF - Java
FileInputStream fis = new FileInputStream(dataDir+"input.ps"); FileOutputStream fos = new FileOutputStream(dataDir+"output.pdf"); com.aspose.eps.Ps2PdfConverter converter = new com.aspose.eps.Ps2PdfConverter(); Ps2PdfConverterOptions options = new Ps2PdfConverterOptions(fis, fos); converter.convertToPdf(options); fis.close();
Error suppression during conversion
Java EPS API's error suppression can be implemented during the conversion process in a way that errors are stored in an enumeration to be reviewed later. It can be used to automate scenarios during the development process.