first commit
This commit is contained in:
39
build/node_modules/advpng-bin/readme.md
generated
vendored
Normal file
39
build/node_modules/advpng-bin/readme.md
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# advpng-bin [](https://travis-ci.org/imagemin/advpng-bin)
|
||||
|
||||
> The main purpose of this utility is to recompress png files to get the smallest
|
||||
possible size
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save advpng-bin
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var execFile = require('child_process').execFile;
|
||||
var advpng = require('advpng-bin');
|
||||
|
||||
execFile(advpng, ['--recompress', '--shrink-extra', 'image.png'], function (err) {
|
||||
console.log('Image minified!');
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
## CLI
|
||||
|
||||
```
|
||||
$ npm install --global advpng-bin
|
||||
```
|
||||
|
||||
```
|
||||
$ advpng --help
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [imagemin](https://github.com/imagemin)
|
||||
Reference in New Issue
Block a user