C# import of Adobe Illustrator (.AI) files render to Bitmap?

后端 未结 2 2070
陌清茗
陌清茗 2021-02-11 01:56

Anyone knows how to load a .AI file (Adobe Illustrator) and then rasterize/render the vectors into a Bitmap so I could generate eg. a JPG or PNG from it?

I would like t

相关标签:
2条回答
  • 2021-02-11 02:34

    With the newer AI versions, you should be able to convert from PDF to image. There are plenty of libraries that do this that are cheap, so I would choose buy over build on this one. If you need to convert the older AI files, all bets are off. I am not sure what format they were in.

    0 讨论(0)
  • 2021-02-11 02:40

    Well, if Gregory is right that ai files are pdf-compatible, and you are okay with using GPL code, there is a project called GhostscriptSharp on github that is a .NET interface to the Ghostscript engine that can render PDF.

    0 讨论(0)
提交回复
热议问题