GIF动画制作微信小程序
/gifmaker 生成GIF的Rust库,编译为Webassembly
/program 微信小程序代码
/server 图像审查服务器端代码
GIF动画制作(微信小程序)
有什么好的优化方法么?
RuntimeError: unreachable
at wasm://wasm/000aa2a6:wasm-function[180]:0x1d264
at wasm://wasm/000aa2a6:wasm-function[307]:0x1f732
at wasm://wasm/000aa2a6:wasm-function[286]:0x1f2dc
at wasm://wasm/000aa2a6:wasm-function[69]:0x17d6f
at wasm://wasm/000aa2a6:wasm-function[194]:0x1d818
at wasm://wasm/000aa2a6:wasm-function[14]:0x386d
at p (https://lib/WAServiceMainContext.js:1:159937)
at https://lib/WAServiceMainContext.js:1:160380
at https://lib/WAServiceMainContext.js:1:148480
at Timeout. (:510:54991)
看了你的小程序做得很棒。只是有一些小问题。
use gif::common::{AnyExtension, Block, DisposalMethod, Extension, Frame};中的DisposalMethod参数没有设置选项,默认设置会导致透明png合成gif后前后帧穿透了,看起来有重叠的像素。我局的增加一个Disposal自定义参数会合理一些。这样合成后的体积兴许会更小些。
个人意见,仅供参考。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.