Skip to content

Commit

Permalink
Update pngquant (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
1000ch committed Oct 23, 2021
1 parent 2bbf819 commit 2c7e25c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -18,6 +18,10 @@ jobs:
- windows-latest
steps:
- uses: actions/checkout@v2
- if: contains(matrix.os, 'ubuntu')
run: sudo apt-get install libimagequant-dev
- if: contains(matrix.os, 'macos')
run: brew install libimagequant
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
Expand Down
10 changes: 10 additions & 0 deletions readme.md
Expand Up @@ -12,6 +12,16 @@ $ npm install pngquant-bin
```


Make sure you have the correct version of [libimagequant](https://github.com/ImageOptim/libimagequant).

```
# via Homebrew for macOS
$ brew install libimagequant
# via apt-get for Debian distributions
$ sudo apt-get install libimagequant-dev
```

## Usage

```js
Expand Down
Binary file modified vendor/linux/x64/pngquant
Binary file not shown.
Binary file modified vendor/macos/pngquant
Binary file not shown.
Binary file modified vendor/source/pngquant.tar.gz
Binary file not shown.
Binary file modified vendor/win/pngquant.exe
Binary file not shown.

0 comments on commit 2c7e25c

Please sign in to comment.