Manipulating Adobe Illustrator Formats

Exporting AI File to PSD

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

The steps to convert Adobe Illustrator file to PSD are as simple as below:

  • Create an instance of the AiImage class 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 Adobe Illustrator to PSD.

Exporting AI File to JPEG

Using Aspose.PSD for Java, 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 Adobe Illustrator 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 demonstrates how to export AI to JPEG.

Exporting AI File to GIF

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

Exporting AI File to PNG

Using Aspose.PSD for Java, developers can convert Adobe Illustrator file to PNG format. This topic explains the approach to load the existing Adobe Illustrator 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 the 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 convert Adobe Illustrator to PNG.

Exporting AI File to TIFF

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

Exporting AI File to PDF

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