Select language
  1. Products
  2. Aspose.Page
  3. PS Converter
clearbit icon

Page.PsConverter for .NET

Page.PsConverter for .NET is a plug-in that is intended to convert PS and EPS files to PDF and images. To run the plug-in developers can either specify the path of the files or directly launch the stream containing PS files.

Buy for $99
Share
Instagram Logo Dribbble Logo Twitter Logo Youtube Logo

Features:

1. Reads data from various sources, including file path and file streams.

2. Supports combinations of the file path and file streams in input and output.

3. Can convert to PDF or image.

Convert PostScript to PDF and image.

PS Converter is a plug-in that allows you to convert PS and EPS to PDF and images

Try code snippets below:

Convert PS to PDF.

The following example shows how to convert PS to PDF:

1
2
3
4
5
6
7
{
    PsConverter converter = new PsConverter();
    PsConverterToPdfOptions opt = new PsConverterToPdfOptions();
    opt.AddDataSource(new FileDataSource("input.ps"));
    opt.AddSaveDataSource(new FileDataSource("output.pdf"));
    ResultContainer resultContainer = converter.Process(opt);
}

Convert PS to image.

The following example shows how to convert PS to image:

1
2
3
4
5
6
7
{
    PsConverter converter = new PsConverter();
    PsConverterToImageOptions opt = new PsConverterToImageOptions(ImageFormat.Jpeg);
    opt.AddDataSource(new FileDataSource("input.ps"));
    opt.AddSaveDataSource(new FileDataSource("output.jpg"));
    ResultContainer resultContainer = converter.Process(opt);
}

How to convert PS, EPS to PDF


  1. Reference Aspose.Page in your project: NuGet | DLL
  2. Set Metered license keys: Doc
  3. Convert!

System Requirements

Just make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with .NET Framework or .NET Core
  • VBScript, Delphi, C++ via COM Interop.
  • Development environment like Microsoft Visual Studio.
  • Aspose.Page for .NET DLL referenced in your project.