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:
- Clone the repository
- To install node packages, run:
npm install
- Then build the app by running:
npm run build
- After building, start the development server by running:
npm run dev
谷歌开源的在线图片压缩工具 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!,这真的是一个超强的在线图片压缩工具,说起图片压缩,按照多年玩软件的经验来看,
不过如果你需要更小的体积,不妨试试这个Squoos
Squoosh!可以在肉眼无法分辨差别的前提下最大程度的压缩图片体积,效果很赞~同一张图片,
No comments:
Post a Comment