动画矢量图像有网络标准吗? [英] There is a web standard for animated vector images?

查看:60
本文介绍了动画矢量图像有网络标准吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设SVG是静止矢量图像的标准,那么基于动画矢量的图像也有等效功能吗?

Assuming that the SVG is the standard for still vector images, there is an equivalent for animated vector-based images too ?

我要解决的问题无法通过基于像素的格式(例如APNG或GIF)解决,它们根本无法在不同的显示器上缩放,而且它们也很快变得非常笨拙,矢量图像是我需要的,但是我需要一种标准的方法来为文件提供带有动画矢量实体的文件.

The problem I'm trying to solve can't be solved by pixel-based formats such as APNG or GIF, they don't scale at all on different displays, and they also get really really heavy pretty quick, vector images are what I need but I need a standard way to provide a file with an animated vector entities in it.

为清楚起见,我不是要为网页或网页的一部分做动画,我要的是一种仅适合此任务的文件类型或标准.

To be clear I'm not trying to animate a webpage or part of it, I'm asking for a filetype or standard that is good for just this task.

推荐答案

SVG规范包括 SMIL 作为动画机制.IE9/10/11不支持SMIL,尽管其他UA也支持.有一个名为 fakesmile 的JavaScript库,可以在缺乏支持的UA上启用SMIL.

The SVG specification includes SMIL as an animation mechanism. IE9/10/11 do not support SMIL, although other UAs do. There's a javascript library called fakesmile that can enable SMIL on UAs for which support is lacking.

IE也支持CSS动画,尽管在大多数UA中,对CSS动画的总体支持有些欠完善.

There's also CSS animations which IE does support, although overall support for CSS animations is somewhat less complete in most UAs.

这篇关于动画矢量图像有网络标准吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆