Comments (2)
Error code 99 from pngquant means:
If conversion results in quality below the min quality the image won't be saved (if outputting to stdout, 24-bit original will be output) and pngquant will exit with status code 99.
It causes gulp-imagemin to fail too rather than copying the original file.
from imagemin-pngquant.
Any update on this? I get this error only if quality is set:
{
shortMessage: 'Command failed with exit code 99: /%PROJECT_PATH%/node_modules/pngquant-bin/vendor/pngquant - --speed 1 --strip --quality 85-95',
command: '/%PROJECT_PATH%/node_modules/pngquant-bin/vendor/pngquant - --speed 1 --strip --quality 85-95',
exitCode: 99,
signal: undefined,
signalDescription: undefined,
stdout: <Buffer 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 07 80 00 00 04 38 08 06 00 00 00 e8 d3 c1 43 00 00 20 00 49 44 41 54 78 da ec 9a cd 72 db c8 11 ... 5192639 more bytes>,
stderr: <Buffer >,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Bug introduced in v9.
It doesn't affect every image, don't know what's the difference
from imagemin-pngquant.
Related Issues (20)
- Memory Exposure HOT 1
- How to use itοΌ HOT 2
- Error with gulp HOT 3
- npm error HOT 9
- Supports [ncolors] argument as option
- Unable to process images larger than 10MB HOT 1
- Support size as target parallel to quality
- skip-if-larger option
- Security issues HOT 1
- install error HOT 1
- Error EPIPE HOT 1
- Write EPIPE errors for certain png images HOT 3
- SyntaxError: Invalid regular expression: /^.*?\((?<label>.*?)[,)]/: Invalid group HOT 3
- errno: -4095 when the png is more then 10M
- Incompatible GPL license on pngquant-bin HOT 1
- Security issue CVE-2021-33623
- Security Issue CVE-2021-3795
- Why Image compression increases size of image? HOT 1
- Please upgrade to version 7 or higher.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagemin-pngquant.