GithubHelp home page GithubHelp logo

shaoxiongxu / picgo-plugin-compress Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juzisang/picgo-plugin-compress

0.0 0.0 0.0 3.91 MB

Image compression plugin for PicGo

License: MIT License

TypeScript 100.00%

picgo-plugin-compress's Introduction

picgo-plugin-compress

build dm v mit

用于 PicGo 的图片压缩插件,支持 TinyPng ImageMin

安装失败参考

安装

PicGo-Core 安装

  • 安装 picgo add compress

  • 选择使用 picgo use transformer

  • 参数配置 picgo config plugin compress

    compress 选择压缩工具 默认选项

    • tinypng 无损压缩,需要上传到 tinypng
    • imagemin 压缩过程不需要经过网络,但是图片会有损耗
    • image2webp 本地有损压缩,支持 GIF 格式有损压缩 注意:有些图床(比如 sm.ms)不支持 webp 图片格式,会上传失败

key 可选

  • developers 中申请
  • 逗号,隔开,可使用多个 Key 叠加使用次数

PicGo-Gui 在线安装

  • 打开详细窗口 > 插件设置 > 搜索 compress 即可安装,配置同上
  • 离线安装参考这里

压缩效果对比

类型 tinypng imagemin image2webp
原大小 1.5 MB 1.5 MB 1.5 MB
压缩后 315 KB 411 KB 216 KB
效果图

picgo-plugin-compress's People

Contributors

dependabot[bot] avatar evgo2017 avatar fun4wut avatar hss01248 avatar juzisang avatar xiyu714 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.