Giter Club home page Giter Club logo

Comments (2)

gwicksted avatar gwicksted commented on August 16, 2024 1

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.

Allain55 avatar Allain55 commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.