pngquant --- PNG converter and lossy image compressor
pngquant options [ncolors] file [file ...] pngquant options [ncolors] - <file >file
pngquant converts 32-bit RGBA PNGs to 8-bit (or smaller) RGBA-palette PNGs, optionally using Floyd-Steinberg dithering. The output filename is the same as the input name except that it ends in '-fs8.png' or '-or8.png' (unless the input is stdin, in which case the quantized image will go to stdout). The default behavior if the output file exists is to skip the conversion; use --force to overwrite.
-o out.png, --output out.png Writes converted file to the given path. When this option is used only single input file is allowed. --ext new.png File extension (suffix) to use for output files instead of the default '-fs8.png' or '-or8.png'. -f, --force Overwrite existing output files. "--ext .png --force" can be used to convert files in place (which is unsafe). --nofs, --ordered Disable Floyd-Steinberg dithering. --floyd [=N] Set dithering level using fractional number between 0 (none) and 1 (full, the default). -s N, --speed N 1 (brute-force) to 11 (fastest). The default is 3. Speed 10 has 5% lower quality, but is about 8 times faster than the default. Speed 11 disables dithering and lowers compression level. -Q min-max, --quality min-max min and max are numbers in range 0 (worst) to 100 (perfect), similar to JPEG. pngquant will use the least amount of colors required to meet or exceed the max quality. If conversion results in quality below the min quality the image won't be saved (or if outputting to stdin, 24-bit original will be output) and pngquant will exit with status code 99. --skip-if-larger If conversion results in a file larger than the original the image won't be saved and pngquant will exit with status code 98. Additionally, file size gain must be greater than the amount of quality lost. --posterize bits Truncate number of least significant bits of color (per channel). Use this when image will be output on low-depth displays (e.g. 16-bit RGB). pngquant will make almost-opaque pixels fully opaque and will reduce amount of semi-transparent colors. When this option is enabled the default filename suffix is '-ie-fs8.png' / '-ie-or8.png'. --transbug Workaround for readers that expect fully transparent color to be the last entry in the palette. -v, --verbose Enable verbose messages showing progress and information about input/output. Opposite is --quiet. Errors are output to stderr regardless of this option. -V, --version Display version on stdout and exit. -h, --help Display help and exit.
Creating a new image with the number of colors reduced to 64: pngquant 64 image.png The resulting image will have 64 colors and will be saved as image-fs8.png. Overwriting image in-place if it can be reduced without too much quality loss: pngquant -f --ext .png --quality 70-95 image.png
pngquant is developed by Kornel Lesinski [email protected] based on code by Greg Roelofs [email protected]. pngquant homepage: http://pngquant.org. November 25, 2016
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.