[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6514":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},6514,"pngquant","kornelski\u002Fpngquant","kornelski","Lossy PNG compressor — pngquant command based on libimagequant library","https:\u002F\u002Fpngquant.org",null,"C",5662,501,122,55,0,3,12,39,11,39.1,"Other",false,"main",[26,27,28,29,30,31,5,32,33,34,35],"c","conversion","image-optimization","palette","png","png-compression","quality","quantization","smaller","stdin","2026-06-12 02:01:25","# pngquant 3 [![CI](https:\u002F\u002Fgithub.com\u002Fkornelski\u002Fpngquant\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fkornelski\u002Fpngquant\u002Factions\u002Fworkflows\u002Fci.yml)\n\n[pngquant](https:\u002F\u002Fpngquant.org) is a PNG compressor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format *with alpha channel* (often 60-80% smaller than 24\u002F32-bit PNG files). Compressed images are fully standards-compliant and are supported by all web browsers and operating systems.\n\n[This](https:\u002F\u002Fgithub.com\u002Fkornelski\u002Fpngquant) is the official `pngquant` repository. The compression engine is also available [as an embeddable library](https:\u002F\u002Fgithub.com\u002FImageOptim\u002Flibimagequant).\n\n## Usage\n\n- batch conversion of multiple files: `pngquant *.png`\n- Unix-style stdin\u002Fstdout chaining: `… | pngquant - | …`\n\nTo further reduce file size, try [oxipng](https:\u002F\u002Flib.rs\u002Foxipng), [ImageOptim](https:\u002F\u002Fimageoptim.com), or [zopflipng](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fzopfli).\n\n## Features\n\n * High-quality palette generation\n  - advanced quantization algorithm with support for gamma correction and premultiplied alpha\n  - unique dithering algorithm that does not add unnecessary noise to the image\n\n * Configurable quality level\n  - automatically finds required number of colors and can skip images which can't be converted with the desired quality\n\n * Fast, modern code\n  - based on a portable [libimagequant library](https:\u002F\u002Fgithub.com\u002FImageOptim\u002Flibimagequant)\n  - C99 with no workarounds for legacy systems or compilers ([apart from Visual Studio](https:\u002F\u002Fgithub.com\u002Fkornelski\u002Fpngquant\u002Ftree\u002Fmsvc))\n  - multicore support (via OpenMP) and Intel SSE optimizations\n\n## Options\n\nSee `pngquant -h` for full list.\n\n### `--quality min-max`\n\n`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 (if outputting to stdin, 24-bit original will be output) and pngquant will exit with status code 99.\n\n    pngquant --quality=65-80 image.png\n\n### `--ext new.png`\n\nSet custom extension (suffix) for output filename. By default `-or8.png` or `-fs8.png` is used. If you use `--ext=.png --force` options pngquant will overwrite input files in place (use with caution).\n\n### `-o out.png` or `--output out.png`\n\nWrites converted file to the given path. When this option is used only single input file is allowed.\n\n### `--skip-if-larger`\n\nDon't write converted files if the conversion isn't worth it.\n\n### `--speed N`\n\nSpeed\u002Fquality trade-off from 1 (slowest, highest quality, smallest files) to 11 (fastest, less consistent quality, light comperssion). The default is 4. It's recommended to keep the default, unless you need to generate images in real time (e.g. map tiles). Higher speeds are fine with 256 colors, but don't handle lower number of colors well.\n\n### `--nofs`\n\nDisables Floyd-Steinberg dithering.\n\n### `--floyd=0.5`\n\nControls level of dithering (0 = none, 1 = full). Note that the `=` character is required.\n\n### `--posterize bits`\n\nReduce precision of the palette by number of bits. Use when the image will be displayed on low-depth screens (e.g. 16-bit displays or compressed textures in ARGB444 format).\n\n### `--strip`\n\nDon't copy optional PNG chunks. Metadata is always removed on Mac (when using Cocoa reader).\n\nSee [man page](https:\u002F\u002Fgithub.com\u002Fkornelski\u002Fpngquant\u002Fblob\u002Fmaster\u002Fpngquant.1) (`man pngquant`) for the full list of options.\n\n## License\n\npngquant is dual-licensed:\n\n* Under **GPL v3** or later with an additional [copyright notice](https:\u002F\u002Fgithub.com\u002Fkornelski\u002Fpngquant\u002Fblob\u002Fmaster\u002FCOPYRIGHT) that must be kept for the older parts of the code.\n\n* Or [a **commercial license**](https:\u002F\u002Fsupso.org\u002Fprojects\u002Fpngquant) for use in non-GPL software (e.g. closed-source or App Store distribution). You can [get the license via Super Source](https:\u002F\u002Fsupso.org\u002Fprojects\u002Fpngquant). Email kornel@pngquant.org if you have any questions.\n","pngquant是一个用于压缩PNG图像的工具，通过将其转换为更高效的8位PNG格式（带Alpha通道），显著减小文件大小，通常比24\u002F32位PNG文件小60-80%。其核心功能包括高质量调色板生成、先进的量化算法支持伽马校正和预乘Alpha处理，以及独特的抖动算法减少不必要的图像噪声。此外，它还支持配置质量级别，自动确定所需颜色数，并且能够跳过无法达到指定质量标准的图片。基于现代C语言编写，利用OpenMP实现多核支持及Intel SSE优化，确保了快速执行。适用于需要高效存储或传输大量PNG图像的场景，如网站优化、移动应用资源管理等。",2,"2026-06-11 03:07:23","top_language"]