Giter Site home page Giter Site logo

Comments (1)

meowtec avatar meowtec commented on August 16, 2024

JPEG:
Imagine: MozJPEG
squoosh: MozJPEG / Canvas API

PNG:
Imagine: pngquant
squoosh: OptiPNG / Canvas API

WebP: 都是 cwebp

连个mozJPG和optiPNG压缩应该都没有支持吧

Imagine 的 README 里面就写了 mozjpeg,你在哪看到不支持 mozjpeg 的?

除了多了一个 Canvas 压缩,Imagine 的压缩方式比 squoosh 少很多吗?

两者只不过是交互不一样而已:

  • Imagine 可选择输出格式:选择 JPEG 就是 mozjpeg, 选择 PNG 就是 pngquant, 选择 WebP 就是 cwebp
  • squoosh 则是直接选择编码器,看上去选择更丰富,但是其他的选择实际上没什么太大的用途。

压缩率和压缩选项差劲

来,发一下你的对比结果,包括原图。

from imagine.

Related Issues (20)

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.