Manipulating Adobe Illustrator Formats

Exporting AI File to PSD

Using Aspose.PSD for .NET, developers can convert Adobe Illustrator file to PSD format. This topic explains the approach to load existing AI file and convert it to PSD using PsdOptions  class.

The steps to convert AI file to PSD are as simple as below:

  • Create an instance of the AiImage and load image using Load method of Image class
  • Create an instance of PsdOptions class
  • Call AiImage.Save method with destination path and an instance of PsdOptions

Below the provided sample code demonstrates how to export AI to PSD.

Exporting AI File to JPEG

Using Aspose.PSD for .NET, developers can convert Adobe Illustrator file to JPEG format. This topic explains the approach to load the existing AI file and convert it to JPEG using the  JpegOptions  class.

The steps to convert AI file to JPEG are as simple as below:

  • Create an instance of the AiImage and load image using Load method of Image class
  • Create an instance of JpegOptions class
  • Set image quality
  • Call AiImage.Save method with destination path and an instance of JpegOptions

Below provided sample code demonstrate how to export AI to JPEG .

Exporting AI File to GIF

Aspose.PSD for .NET provides the AiImage class to load Adobe Illustrator files and same can be used to export the AI file to GIF format. This example demonstrates the usage of Aspose.PSD for .NET API to export a AI file to GIF image.

Exporting AI File to PNG

Using Aspose.PSD for .NET, developers can convert Adobe Illustrator file to PNG format. This topic explains the approach to load the existing AI file and convert it to PNG using PngOptions  class.

The steps to convert AI file to PNG are as simple as below:

  • Create an instance of the AiImage and load the image using Load method of Image class
  • Create an instance of PngOptions class
  • Set the type of color
  • Call AiImage.Save method with destination path and an instance of PngOptions

Below provided sample code demonstrates how to export AI to PNG.

Exporting AI File to TIFF

Aspose.PSD for .NET provides the AiImage class to load Adobe Illustrator files and same can be used to export the AI file to TIFF format. This example demonstrates the usage of Aspose.PSD for .NET API to export a AI file to TIFF image.

Raster Images in Illustrator

Aspose.PSD for .NET now supports Raster images in Adobe Illustrator format files. The following code demonstrates how to load settings of Raster Images in Adobe Illustrator Format Files.