Total Pageviews

Sunday, 6 February 2022

Squoosh

Make images smaller using best-in-class codecs, right in the browser.

example websites:

https://squoosh.app/

https://tiny.vercel.app/

Squoosh is an image compression web app that reduces image sizes through numerous formats.

API & CLI

Squoosh has an API and a CLI to compress many images at once.

Privacy

Squoosh does not send your image to a server. All image compression processes locally.

However, Squoosh utilizes Google Analytics to collect the following:

  • Basic visitor data.
  • The before and after image size value.
  • If Squoosh PWA, the type of Squoosh installation.
  • If Squoosh PWA, the installation time and date.

Developing

To develop for Squoosh:

  1. Clone the repository
  2. To install node packages, run:
    npm install
  3. Then build the app by running:
    npm run build
  4. After building, start the development server by running:
    npm run dev
from https://github.com/GoogleChromeLabs/squoosh/
-----
 

谷歌开源的在线图片压缩工具 Squoosh!

Squoosh!是Google Chrome实验室发布的开源在线图片压缩工具,支持 JPG、PNG、WebP 等格式图片的压缩。除了压缩尺寸,还能进行简单的编辑,包括剪裁、减少调色板。在左右窗口对比最终效果时,可选择与原图进行比较,也可与几种不同的压缩格式进行比较。

目前支持输出的压缩格式包括:

OptiPNG
MozJPEG
WebP
Browser PNG
Browser JPEG
Browser WebP

Windows 平台在 Chrome 里打开 https://squoosh.app/ 后, 可直接在菜单中选择 安装“Squoosh” 。

[repo owner=”GoogleChromeLabs” name=”squoosh”] 
----------------------------------------------
 Squoosh! |http://squoosh.app

Squoosh!,这真的是一个超强的在线图片压缩工具,说起图片压缩,按照多年玩软件的经验来看,
大部分所谓的图片压缩工具,其效果根本不如PS,在PS中拖入一张照片,
我们只要选择导出成适合Web发布的格式,基本上可以最大程度的压缩图片了,可以满足一般的需要了~

不过如果你需要更小的体积,不妨试试这个Squoos

Squoosh!可以在肉眼无法分辨差别的前提下最大程度的压缩图片体积,效果很赞~同一张图片,
Squoosh!的压缩效果比PS强太多~如果你是个编辑或者站长,
学会最大程度的压缩图片不仅可以节省资源更可以提高阅读体验,Squoosh!就是一个非常棒的选择。 

No comments:

Post a Comment