现代 ai 文件是 PDF 文件(CS3 到 CS5),带有特定于应用程序的注释。 Adobe Illustrator 在打开 ai 文件时将忽略实际的 PDF 数据,而仅使用写入时插入的注释。
Modern ai files are PDF files (CS3 thru CS5) with application specific comments. Adobe Illustrator will ignore the actual PDF data when opening an ai file and just use the comments it inserted when writing it.
Simply to open it? Quite viable. NSImage will load it as a rasterized image without blinking an eye. Treat it as any other supported image file when creating an NSImage instance.
If you want to be able to examine its internals (like layers, paths, etc.) and possibly edit, then I don't know of any open-source Objective-C libraries for doing this.
发布评论
评论(2)
现代 ai 文件是 PDF 文件(CS3 到 CS5),带有特定于应用程序的注释。 Adobe Illustrator 在打开 ai 文件时将忽略实际的 PDF 数据,而仅使用写入时插入的注释。
Modern ai files are PDF files (CS3 thru CS5) with application specific comments. Adobe Illustrator will ignore the actual PDF data when opening an ai file and just use the comments it inserted when writing it.
只是为了打开它吗?相当可行。 NSImage 会将其加载为光栅化图像,而无需眨眼。创建 NSImage 实例时,将其视为任何其他受支持的图像文件。
如果您希望能够检查其内部结构(如层、路径等)并可能进行编辑,那么我不知道有任何开源 Objective-C 库可以执行此操作。
Simply to open it? Quite viable. NSImage will load it as a rasterized image without blinking an eye. Treat it as any other supported image file when creating an NSImage instance.
If you want to be able to examine its internals (like layers, paths, etc.) and possibly edit, then I don't know of any open-source Objective-C libraries for doing this.