天鱼的博客

搜索
跳至内容

压缩图片

2月 23, 2022 skyfish

一个js压缩图片的工具。功能用C编写,使用了 https://github.com/ImageOptim/libimagequant , https://github.com/glennrp/libpng, https://github.com/kohler/gifsicle 以及 https://www.ijg.org/ 库,读取图片进行压缩。

导出wasm在页面运行,从而使得可以直接在页面压缩图片,不需要上传到服务器处理。

GitHub地址 https://github.com/skyfish-qc/pngtiny

demo地址  https://h5.skyfish.me/pngtiny/

文章导航

上一文章shader toy效果收集下一文章低版本secureCrt连接ssh提示key不支持

仅仅是个博客

近期文章

  • 低版本secureCrt连接ssh提示key不支持
  • 压缩图片
  • shader toy效果收集
  • bump sphere environment normal mapping shader
  • Volumetric Light / Radial Blur Post Processing Filter

分类目录

  • 文章
粤ICP备15019660号