Comments (4)
I guess optipng-bin
is low-level package that is not recommended for direct use. This package looks like user-friendly wrapper for optipng-bin
.
from imagemin-optipng.
Guesses don't help people understand why they're being told to switch package. Low level is fine for automated cleanup, so the original question remains: why is the readme.md saying what it says?
from imagemin-optipng.
optipng-bin
is a low-level module, and imagemin-optipng
provides a nicer interface by wrapping optipng-bin
. Which we want to use depends on our use-case, so it says "You probably want imagemin-optipng
instead."
from imagemin-optipng.
Right, but this is an npm
package, hosted on github
, and uses signaling akin to what people use to indicate that a package is deprecated. Rather than saying "you probably want to use X" (which in the context of an npm package has come just be a polite way to say "stop using this") it would be better to add a heading an one or two paragraphs that explain when you want to use optipng-bin
, and when it makes more sense to use imagemin-optipng
.
We use it for CLI cleaning of PNG files, for instance, where we definitely don't want a more elaborate interface.
from imagemin-optipng.
Related Issues (20)
- Can I add to this plugin optional argument '-nx'? HOT 3
- Using false for bitDepthReduction, colorTypeReduction, or paletteReduction causes error HOT 26
- Using with gulp HOT 1
- Issue with optipng-bin HOT 9
- Compilation fails HOT 16
- Single PNG file always causes decoder error in IE11 HOT 1
- issues on Ubuntu HOT 8
- Provide env var for passing optipng binary path? HOT 2
- How to use multiple threads for multiple trials?
- Installation error HOT 1
- Unable to run demo using nodejs HOT 1
- Security issue CVE-2021-33623
- Use optipng from path if available. HOT 1
- 国内下载请用cnpm,亲测有效
- none
- Fails to build on Apple Silicon devices (Arm64) HOT 3
- Please upgrade to version 7 or higher. HOT 1
- On Freebsd 10 (x64), we cannot use the optipng in the vendor folder HOT 1
- optimizationLevel 0 Error in file HOT 4
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-optipng.