APNG
此條目可参照英語維基百科相應條目来扩充。 (2023年9月13日) |
![]() | |
| 扩展名 |
.png .apng |
|---|---|
| 互联网媒体类型 | image/apng、image/png |
| 首次发布 | 2008年8月4日 |
| 格式类型 | 动画位图PNG |
| 扩展自 | PNG |
| 免费格式? | 是 |
动态可移植网络图形(英語:Animated Portable Network Graphics,缩写APNG)是一种继承自便携式网络图形(PNG)的文件格式,它允许像GIF格式一样播放动态图片,并且拥有GIF不支持的24位图像和8位透明性。 它还保留了与非动画PNG文件的向后兼容性。
APNG文件的第一帧存储为普通PNG流,因此大多数标准PNG解码器都能够显示APNG文件的第一帧。 帧速度数据和额外的动画帧存储在额外的数据块中(如原始的PNG规范所规定)。 APNG的竞争者是由PNG团队创建的位图动画的全面格式——多重網絡圖形 (MNG)。与其相比,APNG的优势是更小的存储大小以及对旧的PNG完全兼容。
通过对比GIF、APNG和WebP,可以看出APNG在质量相同的时候有着更小的体积[1]。
历史
[编辑]
2004年,APNG由Mozilla公司的Stuart Parmenter和Vladimir Vukićević所創立,希望Mozilla社区将其用于图形界面及XUL,也期望广泛用于网页,但提案未能通过。
2006年,Google Summer of Code活动中,加拿大圣力嘉学院的学生为libpng程序库加入APNG支持。
此后开发者继续向Mozilla社区推荐APNG,但一直没有什么进展。
2007年3月23日,Mozilla Firefox 3.0在开发测试中支持APNG。[2]
2007年4月20日,PNG组织投票以10:8否决APNG进入官方标准。PNG组织决心继续推广MNG,不过其权力有限,许多常见软件陆续支持了APNG。
2025年6月24日,PNG发布3.0版本标准,正式将APNG纳入官方标准中。[3]
软件支持
[编辑]| 类型 | 应用 | 支持 | |
|---|---|---|---|
| 图像处理软件 | |||
| APNG Assembler | v. 1[4] | ||
| cphktool APNG Anime Maker | v. 1(2009年6月9日)[5] | ||
| APNG Disassembler | v. 1[6] | ||
| APNG Optimizer | v. 1.0(2011年3月28日)[7] | ||
| FFmpeg | v. 2.7[8] | ||
| FireAlpaca | v. 2.3.13[9] | ||
| Gamani GIF Movie Gear | v. 4.2(2008年3月)[10] | ||
| GIMP | 需要APNG Plug-in. | ||
| ImageJ | v. 1.41g(2008年7月3日)[11] | ||
| Imagine | v. 1.0.2(2008年5月4日)[12] | ||
| ImageMagick | v. 7.0.10-31(2020年9月20日)[13] | ||
| IrfanView | 只读,版本号4.40(2015年7月31日) | ||
| Konvertor | v. 4.02(2010年5月)[14] | ||
| Krita | Krita Nightly 5.0.0 pre-alpha(2021年2月22日起)[15][16] | ||
| KSquirrel | v. 0.7.2(2007年10月3日)[17] | ||
| Paint.NET | 需要animation plugin | ||
| RealWorld Paint | v. 2011.1(2011年12月)[18] | ||
| Sciter and HTMLayout 界面引擎 | 只读,2008年起 | ||
| VirtualDub | 需要VirtualDub APNG Mod[19] | ||
| XnView | 只读,版本号1.97.4(2010年4月30日)[20] | ||
| 网页浏览器 | 基于Gecko引擎 | Mozilla Firefox | v. 3(2008年6月17日)[21][22] |
| SeaMonkey | v. 2 | ||
| Iceweasel及其他Debian重新注册商标的 Mozilla产品 | v. 4.0~b12[23] | ||
| Opera 12 及之前版本(Presto排版引擎) | v. 9.5(2008年6月12日)[24] | ||
| Opera 15+(Blink排版引擎) | v. 46(2017年6月22日)[25] | ||
| Internet Explorer | 否[26] | ||
| 基于WebKit引擎 | Safari | v. 8.0[27] | |
| 基于Blink引擎 | Google Chrome/Chromium | v. 59(2017年6月5日)[28] | |
| Microsoft Edge | v. 79 | ||
| 移動端 | iOS Safari | 是 | |
| Firefox for Android | 是 | ||
| Samsung Internet | 是 | ||
| Opera Mobile | 是 | ||
有一种用于服务器的库通过使用canvas标签而非对APNG的支持来显示APNG。[29]
参见
[编辑]- ^ GIF vs APNG vs WebP. littlesvr. [2019-04-02]. (原始内容存档于2020-11-01).
- ^ Gran Paradiso Alpha 3 发布日志. 2007-03-23 [2007-07-24]. (原始内容存档于2010-05-09).
- ^ 4Gamers. 超過20年沒有改版,PNG 3.0支援HDR顯示與原生動畫顯示. 4Gamers 官方網站. [2025-08-03] (中文(繁體)).
- ^ maxst. APNG Assembler. SourceForge. [2021-09-04]. (原始内容存档于2022-05-04).
- ^ cphktool APNG Anime Maker. cphktool. [2010-06-28]. (原始内容存档于2010-02-09).
- ^ maxst. APNG Disassembler. SourceForge. [2021-09-04]. (原始内容存档于2022-05-04).
- ^ maxst. APNG Optimizer. SourceForge. [2021-09-04]. (原始内容存档于2022-05-04).
- ^ FFmpeg在GitHub上的更新日志. [2016-07-09]. (原始内容存档于2017-03-21).
- ^ FireAlpaca Update History. [2021-09-04]. (原始内容存档于2022-05-05).
- ^ Animated PNG: Simple Animation with an Alpha Channel. Gamani. [2009-08-25]. (原始内容存档于2010-03-15).
- ^ ImageJ News. ImageJ. [2009-05-23]. (原始内容存档于2009-05-21).
- ^ Imagine - What's new. [2017-09-01]. (原始内容存档于2011-10-08).
- ^ ImageMagick - Changelog. [2021-04-25]. (原始内容存档于2021-05-23).
- ^ Konvertor - Solutions for Multimedia Processing. [2013-06-01]. (原始内容存档于2010-05-12).
- ^ APNG and WEBP animation export (dbe993da) · Commits · Graphics / Krita. GitLab. [2021-08-16]. (原始内容存档于2022-03-21) (英语).
- ^ APNG export support. [2021-08-16]. (原始内容存档于2022-03-21).
- ^ ksquirrel Changelog Sektion: ksquirrel-0.7.2. SourceForge. [2009-05-23]. (原始内容存档于2009-01-31).
- ^ APNG support announcement. [2013-06-01]. (原始内容存档于2013-08-02).
- ^ 载入视频后,可通过“文件|导出|Animated PNG”菜单项创建APNG文件
- ^ 只有Windows版增加 have been released since APNG格式的支持。
- ^ Parmenter, Stuart; Vladimir Vukicevic, Andrew Smith. Animated PNG graphics. Mozilla Developer Center. Mozilla. 2008-07-04 [2009-05-23]. (原始内容存档于2008-12-04).
- ^ Firefox 3 for developers. Mozilla Developer Center. Mozilla. 2008-10-01 [2009-05-23]. (原始内容存档于2008-11-13).
- ^ Debian Bug #486827 Iceweasel cannot render APNG image. Debian. 2011-08-26 [2011-09-18]. (原始内容存档于2012-06-04).
- ^ Web specifications supported in Opera 9.5. Opera Software. [2009-05-23]. (原始内容存档于2009-02-25).
- ^ Opera 46 goes final, more quality and Opera's first TV ad. Opera Software. [2017-06-26]. (原始内容存档于2017-06-25).
- ^ APNG not animating in Internet Explorer 9 - Microsoft Community. Microsoft. [2011-05-10]. (原始内容存档于2011-05-14).
- ^ Can I use Animated PNG?. [2014-05-01]. (原始内容存档于2014-08-03).
- ^ Opera 46 goes final, more quality and Opera’s first TV ad. Opera Software. [2017-06-26]. (原始内容存档于2017-06-25).
- ^ APNG-canvas Library. [2017-09-01]. (原始内容存档于2018-06-11).
