开发者

Using Illustrator .ai files in a Cocoa application [closed]

开发者 https://www.devze.com 2023-01-19 02:58 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 7 years ago.

Improve this question

I have a client inquiring about developing a Cocoa application that would open Il开发者_如何学Clustrator files. How viable is this in your opinion? How closed is the format? I can't seem to find any useful information on Adobe's site.

Thanks in advance!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消