Skip to content

A tool for compressing images in batches, similar to some tools for compressing images online. It is more convenient and faster, suitable for developers. Batch compress images

Notifications You must be signed in to change notification settings

globaldarcy/batch-compress-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

批量压缩图像/batch-compress-images

Jpeg 图片压缩参数进行调整,提高了压缩图片的速度。

新增 Webp 格式。将 jpg,png 转换成 webp。 执行 npm run webp 将导出 webp 格式的图片。

$ npm run webp

用于批量压缩图像的工具,类似于在线压缩图像的一些工具。 它更方便,更快捷,适合开发人员使用。

A tool for compressing images in batches, similar to some tools for compressing images online. It is more convenient and faster, suitable for developers.

支持图片格式: jpg, png, svg

Support image format: jpg, png, svg

安装/Install

克隆到本地

Clone to local

$ npm install

用法/Usage

把想要压缩的图片文件夹放在当前项目的跟目录, 文件夹和图片使用英文命名. 支持文件夹层级关系.

Put the image folder you want to compress in the current project's directory, and the folder and image are named in English. Support for folder level relationships.

demo 4.6MB, 压缩后为 749KB

demo 4.6MB, 749KB after compression

$ npm start

许可证/License

MIT

About

A tool for compressing images in batches, similar to some tools for compressing images online. It is more convenient and faster, suitable for developers. Batch compress images

Resources

Stars

Watchers

Forks

Packages

No packages published