Giter VIP home page Giter VIP logo

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 选择压缩工具 默认选项

    • imagemin +luban 算法,最大程度节省流量,默认选项
    • imagemin 压缩过程不需要经过网络,但是图片会有损耗
    • imagemin_webp 本地有损压缩,支持GIF格式有损压缩 注意:有些图床(比如sm.ms)不支持webp图片格式,会上传失败
    • tinypng 无损压缩,需要上传到 tinypng
    • lubanforgitee 将所有图片压缩到1M以下,解决gitee的1M外链不能访问的问题.

nameType 是否重命名

  • timestamp 重命名成时间戳
  • none 不重名,默认选项

key 可选

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

PicGo-Gui 在线安装

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

压缩效果对比

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

picgo-plugin-compress's People

Contributors

juzisang avatar hss01248 avatar fun4wut avatar xiyu714 avatar dependabot[bot] avatar evgo2017 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.