在线查看 AI 文件
如果你没有任何软件可以打开AI文件,只需使用在线查看器工具。这个应用程序可以帮助你查看任何版本的AI文件。但是最终结果将是渲染后的预览。AI 文件很难在基本应用程序中查看,因为 AI 是一种矢量格式。只有矢量查看器才能打开 AI。AI 格式由 Adobe 创建,它是一种专有格式。它有 “.ai” 扩展名。大多数AI Viewer都是付费产品,但是如果您不需要编辑Illustrator文件,则不需要任何付费软件。只需使用此应用程序在线查看AI文件即可。试试这个更新版本的 AI Viewer
Drag and drop a file or click Open Image
You can reproduce the main functionality of this built-in app using Aspose.PSD
// To view the new AI format please use the following code: async Task<bool> 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 from Nuget package manager
Check the following list of documentation links:
Please check the offical documentation https://docs.aspose.com/psd/
使用 Aspose.PSD 查看 AI 文件。简单快捷的 AI 查看器。