Comments (2)
It reads palette from the given file.
It's undocumented, because of tradition. It was undocumented in 1999 version of pngquant too! ;)
More seriously, I never implemented it properly by reading the palette out of the file, it applies pngquant to it, so it only uses palette for pixels in the file, not all (including unused) palette entries.
from pngquant.
Yeah, I noticed using an indexed PNG for the palette image doesn't work (I didn't open an issue for that in case --map
was being deprecated, hence this issue), it's cool to hear how long pngquant
has been around!
Are there any plans for enhancing --map
in the future? Maybe a way to export a palette from an existing image?
from pngquant.
Related Issues (20)
- on windows pngquant directs output to stderr not stdout HOT 1
- Feature Request: Option to skip image if it already has 256 colors or less. HOT 2
- tar error while installing with brew on macos HOT 3
- OpenMP warning on Clang systems HOT 1
- Windows Build - Executing from current directory should include exclusion for pngquant.exe HOT 1
- Using more than 4 bits per channel with posterization HOT 3
- Is it possible to keep fully transparent (0 alpha) areas of image fully transparent? HOT 2
- Supported on Apple silicon? HOT 1
- Option to preserve color for fully transparent pixels HOT 1
- Feature Request: Option to select default output directory in PNGoo HOT 1
- not create .exe after build HOT 3
- missing malloc fail check in read_chunk_callback HOT 1
- How to add code-coverage compile flag such as -fprofile-arcs -ftest-coverage HOT 1
- Homebrew Version HOT 2
- `c49cb1f` ("OOM checks") not applied to `3.x` / `main` branch
- Converting not work on Mac php without any message
- Linux and MacOS have different results HOT 1
- PNGoo doesn't have a icon
- PNGquant.py to APP
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 pngquant.