An open API service indexing awesome lists of open source software.

https://github.com/feflow/feflow-plugin-pic-optimize

Compress images plugin
https://github.com/feflow/feflow-plugin-pic-optimize

Last synced: about 1 year ago
JSON representation

Compress images plugin

Awesome Lists containing this project

README

          

# feflow-plugin-pic-optimize

This is a Feflow plugin. The principle is to use the open source compression tools pngquant, pngcrush, optipng to serially compress and optimize an image.

## Features

- ✅ Automatically traverse all image files in the src directory.
- ✅ Support `png` `jpg` `gif` `svg` .

## Installation

You need to install [`feflow`](https://github.com/feflow/feflow) first.

```sh
$ npm install feflow-cli -g
```

Then install feflow-plugin-pic-optimize

```sh
$ feflow install feflow-plugin-pic-optimize
```
## Usage

```sh
$ feflow upic
```

## Changelog

[Changelog](CHANGELOG.md)

## License

[MIT](https://tldrlegal.com/license/mit-license).