DMS游戏活动中心 - 热门活动与福利速递

AI 文件在线查看器

活动专题 2026-07-07 19:17:02

在线查看 AI 文件如果您没有任何软件可以打开AI文件,只需使用在线查看器工具。这个应用程序可以帮助你查看任何版本的AI文件。但是最终结果将是渲染后的预览。AI 文件在基本应用程序中很难查看,因为 AI 是一种矢量格式。只有矢量查看器才能打开 AI。AI 格式由 Adobe 创建,它是一种专有格式。它具有 “.ai” 扩展名。大多数 AI Viewer 都是付费产品,但如果你不需要编辑 Illustrator 文件,则不需要任何付费软件。只需使用此应用程序在线查看AI文件即可。

Live example

Code snippet C#

Code snippet Java

Links to docs

Additional FeaturesOpen ImageDrag and drop a file or click Open ImageRemove Uploaded ImageDownload ImageYou can reproduce the main functionality of this built-in app using Aspose.PSD for .NET

// To view the new AI format please use the following code:

async Task ViewPdfToPng(Stream pdfFileStream, string pngFileId, Size size)

{

pdfFileStream.Position = 0;

try

{

using var pdfDocument = new Aspose.Pdf.Document(pdfFileStream);

var page = pdfDocument.Pages[1];

using var imageStream = new MemoryStream();

Resolution resolution = new Resolution(300);

PngDevice pngDevice = new PngDevice(size.Width, size.Height, resolution);

pngDevice.Process(page, imageStream);

imageStream.Position = 0;

await StorageService.Upload(pngFileId, imageStream);

imageStream.Close();

return true;

}

catch (Aspose.Pdf.InvalidPdfFileFormatException)

{

return false;

}

}

// For the viewing of Old AI Formats please use the Aspose.PSD

using (AiImage image = (AiImage)Image.Load(sourceFileName))

{

ImageOptionsBase options = new PngOptions() { ColorType = PngColorType.TruecolorWithAlpha };

image.Save(outFileName, options);

}You can download Aspose.PSD for .NET from Nuget package manager

You can reproduce the main functionality of this built-in app using Aspose.PSD for Java

public static boolean openPdfToPng(InputStream pdfFileStream, String pngFileId, Size size) {

try {

pdfFileStream.setPosition(0);

try (Document pdfDocument = new Document(pdfFileStream)) {

com.aspose.pdf.Page page = pdfDocument.getPages().get_Item(1);

try (OutputStream imageStream = new ByteArrayOutputStream()) {

Resolution resolution = new Resolution(300);

PngDevice pngDevice = new PngDevice(size.getWidth(), size.getHeight(), resolution);

pngDevice.process(page, imageStream);

imageStream.setPosition(0);

StorageService.upload(pngFileId, imageStream);

return true;

}

} catch (com.aspose.pdf.exceptions.InvalidPdfFileFormatException e) {

return false;

}

} catch (Exception ex) {

return false;

}

}

public static void convertAItoPNG(String sourceFileName, String outFileName) {

try (AiImage image = (AiImage) Image.load(sourceFileName)) {

ImageOptionsBase options = new PngOptions();

options.setColorType(PngColorType.TruecolorWithAlpha);

image.save(outFileName, options);

}

}You can download Aspose.PSD for Java from Aspose Repository

Check the following list of documentation links:

在没有 Illustrator 的情况下查看 AI 文件使用高代码 API 查看 AI 文件的 GIST 示例Aspose 低代码应用程序可在线查看 AIPlease check the offical documentation https://docs.aspose.com/psd/

This App is completely free, but it just a small piece of functionality that offers for you Aspose.PSD library. You can make your own app with any functionality of Aspose.PSD. If you can not find needed feature in Aspose.PSD, you can post on PSD Support Forum. The great support, different priceing plans, prioritized bug fixes and feature releasing for the Paid Support Customers.

List of Aspose.PSD versions for different configurationsAspose.PSD for .NETAspose.PSD for JavaAspose.PSD for PythonAspose.PSD for .NET has the version for the most popular .NET versions including: .NET Framework 2, 3.5, 4.0, 4.5, .netstandard 2.0, .NET 5, 6, 7, 8, 9. Version of .NET Library for .NET 7 is suitable for the mobile developmentAspose.PSD for Java made on the Java 1.6, so it can be used in the any popular Java configurations. It's suitable for Cross-platform developementAspose.PSD for Python via .NET supports Python 3.5-3.13. Versions for Windows, MacOS x64, MacOS ARM and Linux are available. It's suitable for Cross-platform developmentOfficial Aspose.PSD for .NET pageOfficial Aspose.PSD for Java pageOfficial Aspose.PSD for Python via .NET pageAspose.PSD for .NET Pricing plansAspose.PSD for Java Pricing plansAspose.PSD for Python via .NET Pricing plansPlease check the support forum. Where you can feel the real customer care

使用 Aspose.PSD 查看 AI 文件。简单快捷的 AI 查看器。