AI 파일 온라인 열기
온라인에서 AI 형식을 열 때 편집 기능이 필요하지 않은 경우 이 AI 뷰어는 다양한 용도에 적합한 솔루션입니다.웹 서버에 업로드한 후 AI 파일을 온라인으로 열 수 있습니다.AI 포맷은 벡터 형식이므로 지정된 이미지 크기로 래스터화가 진행됩니다.추가 기능의 경우 다음을 사용할 수 있습니다. .Net 또는 Java 필요한 크기로 AI 파일을 여는 하이코드 API
Drag and drop a file or click Open Image
You can reproduce the main functionality of this built-in app using Aspose.PSD for .NET
// For the new AI format please use the following code: async Task<bool> OpenPdfToPng(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 Old AI Formats please use the Aspose.PSD high-code API 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:
Please 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 configurations | |
Aspose.PSD for .NET | Aspose.PSD for Java |
Aspose.PSD for .NET has the version for the most popular .NET versions including: .NET Framework 2, 3.5, 4.0, 4.0CP, .netstandard 2, .NET 5, 6, 7. Version of .NET Library for .NET 7 is suitable for the mobile development | Aspose.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 developement |
Official Aspose.PSD for .NET page | Official Aspose.PSD for Java page |
Aspose.PSD for .NET Pricing plans | Aspose.PSD for Java Pricing plans |
Please check the support forum. Where you can feel the real customer care |
Aspose.PSD 또는 기타 애스포즈 제품을 사용하여 AI 파일을 엽니다.AI 파일 미리보기를 온라인으로 렌더링합니다.