How to Convert EPS to TIFF in C#

In this step by step tutorial, we’ll explain how to convert EPS to TIFF in C#. An EPS file is Adobe’s Encapsulated PostScript format containing the drawings. Aspose.Page for .NET lets you convert EPS to TIFF in C# code in a few steps.

The Steps to Convert EPS to TIFF in C#

  1. Install Aspose.Page for .NET package from NuGet.org
  2. Include Aspose.Page, Aspose.Page.EPS, and Aspose.Page.EPS.Device namespaces
  3. Use SetLicense method to apply API license
  4. Load EPS file into PsDocument object
  5. Create ImageDevice object using TIFF image format
  6. Set ImageSaveOptions as you prefer
  7. Save the EPS document to TIFF image device created above
  8. Read bytes array from image device and save as tiff image

From the above steps, we notice that the PsDocument object renders the EPS document as image bytes to the TIFF image device. This image device later helps us render those image bytes as TIFF image.

Code to Convert EPS to TIFF in C#

In the above code snippet, we can see that in a few steps we understood how to convert EPS to TIFF using c# code. Using this code, you can create an EPS to TIFF converter in any of your .NET applications including Web, Desktop, Windows, and Services etc.

 English