How to embed .ai files in HTML5?

拥有回忆 提交于 2019-12-11 05:27:44

问题


Is it possible to directly embed .ai files in HTML5, so that the image is rendered automatically as per the size of the screen and resolution or do we need to convert the whole .ai files into .png of different sizes and then include them within.


回答1:


You could export it as a SVG file, and embed that in your website. SVG is a vector format that all modern browsers understand. Adobe Illustrator should be able to export drawings to SVG, since it is a very widely used format.

Since SVG is a vector graphics format, it can be rendered at any size and still look nice and sharp.



来源:https://stackoverflow.com/questions/21880326/how-to-embed-ai-files-in-html5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!