Convert images to EPS files

.NET API Solution to Convert image files to EPS


Among other Page Description Language formats Aspose.Page Solution supports EPS. Detaily EPS is described in Documentation, as well as other formats like PS, XPS, OXPS, and PDF. There you will find the answers to the most asked questions. Here you will learn how to convert images to EPS using this .NET C# library. The code example describes JPEG to EPS conversion but all the other image formats can be transformed the same way with the same steps. Learn the whole Conversion functionality realized in the cross-platform Converter applications .

To convert images to EPS, we need:

  • Aspose.Page for .NET API which is a feature-rich, powerful and easy-to-use document manipulation and conversion API for the C# platform.

  • Open the NuGet package manager, and search for Aspose.Page and install. You may also use the following command from the Package Manager Console.

Package Manager Console Command

    PM> Install-Package Aspose.Page

Steps to convert image to EPS C#

  1. Set the path to the documents directory.
  2. Create default options for EPS file using the SaveOptions Class.
  3. To save a JPEG image to an EPS file, use one of the SaveImageAsEps() Methods.

C# to convert JPEG to EPS

    using Aspose.Page.EPS;
    using Aspose.Page.EPS.Device;
    using Aspose.Page.EPS.XMP;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    // The path to the documents directory.
    string dataDir = RunExamples.GetDataDir_WorkingWithImageConversion();

    // Create default options
    PsSaveOptions options = new PsSaveOptions();

    // Save the JPEG image to an EPS file
    PsDocument.SaveImageAsEps(dataDir + "input1.jpg", dataDir + "output1.eps", options);


1. Can I convert image formats to EPS?

Aspose.Page solution has functionality that allows you to convert EPS files to other formats online or programmatically. If you need to transform an image to EPS instantly online you may like to use Converter cross-platform application.

2. What input formats are supported by the?

Using this API Solution you can convert BMP, EMF, GIF, JPEG, TIFF and PNG files to EPS.

3. Is the functionality free?

The cross-platform converters are free, when for the API solution you can get a free Trial and then buy the product if needed.