AI ファイルをオンラインで表示する

AIファイルを開くためのソフトウェアがない場合は、オンラインビューアツールを使用してください。このアプリは、あらゆるバージョンのAIファイルを表示するのに役立ちます。しかし、最終結果はレンダリングされたプレビューになります。AI ファイルはベクター形式なので、基本的なアプリケーションでは見づらいです。AI を開くことができるのはベクタービューアーだけです。AIフォーマットはアドビによって作成され、独自のフォーマットです。拡張子は「.ai」です。AI Viewerのほとんどは有料製品ですが、Illustratorファイルを編集する必要がなければ、有料のソフトウェアは必要ありません。このアプリで「AIファイルをオンラインで表示」を使用するだけです。このアップデート版の AI Viewer をお試しください

Drag and drop a file or click Open Image

your 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

Aspose.PSD を使用して AI ファイルを表示します。簡単かつ高速な AI ビューアー。