简体   繁体   English

转换 AI 和 EPS 文件以在 HTML Canvas 中使用

[英]Convert AI and EPS files to use in HTML Canvas

I have a product customizer.我有一个产品定制员。 Right now it allows JPG and PNG to be uploaded.现在它允许上传 JPG 和 PNG。 Our clients often have AI or EPS files.我们的客户通常有 AI 或 EPS 文件。 Is there an easy way to convert the AI or EPS files so they can be used in a Canvas?是否有一种简单的方法可以转换 AI 或 EPS 文件,以便它们可以在 Canvas 中使用? The hope would be to do it through jquery but C# wouldnt be the end of the world.希望是通过 jquery 做到这一点,但 C# 不会是世界末日。 I can use Base64 as well.我也可以使用 Base64。

This is super old but we ended up using Cloud Convert API as a solution.这是非常古老的,但我们最终使用 Cloud Convert API 作为解决方案。 Send in the AI, EPS or PDF and you get back a png...It doesn't do it directly client side but it does do it on the fly on the web.发送 AI、EPS 或 PDF,你会得到一个 png ......它不会直接在客户端执行,但它会在网络上即时执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM