把 C/C++ 提供给高级语言调用。 SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
Branches for Emscripten, native (BridJ), and SWIG. 把 C/C++ 编译成 JS 代码。 Emscripten: An LLVM-to-Web Compiler
https://zh.savefrom.net/7/ https://ctb.doutui.net/youtube.php
https://segmentfault.com/a/1190000009033181
NetBeans 源码忽略报错后,配置存在:C:\Users\86138\AppData\Roaming\NetBeans\11.0\var\attributes.xml
。
想在博客里面支持视频。 Emscripten
动图 gif 方案的问题就是 gif 图片太大,想搞一个 mp4,结果排版和手机上,存在问题,还不如 gif。所以这个方案没用。
用 gifsicle -O3 animation.gif -o animation-optimized.gif --colors 256
压缩一下,效果还勉强能接受。
最终方案采用 webp,这个最牛逼,压缩率极高。gif2webp – Tool for converting GIF images to WebP
gif2webp -q 75 -lossy -m 6 picture.gif -o picture.webp