Java APIs to convert PS/EPS files on the fly

Load & Convert PostScript and Encapsulated PostScript documents to PDF within any Java application

  Download Free Trial
Aspose.EPS for Java

Aspose.EPS for Java

 
 

Aspose.EPS for Java API allows to convert PS/EPS documents into PDF. API provides high fidelity converting PostScript and Encapsulated PostScript files to PDF format within any Java based application. Currently API supports PostScript language levels 1-3 with an exception of font types.

 

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.

 

Support and Learning Resources

 
 

Aspose.EPS offers individual EPS processing APIs for other popular development environments as listed below: