Dithery-cli
1.0.7
dotnet tool install --global Dithery-cli --version 1.0.7
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Dithery-cli --version 1.0.7
#tool dotnet:?package=Dithery-cli&version=1.0.7
nuke :add-package Dithery-cli --version 1.0.7
Dithery-cli
Command-line image dithering tool written in C#. Dithering part is done with CSharp-Dithering
Sample commands
Save single Atkinson dithered image, with true colors to web safe color reduction to PNG file
dithery half.png -m atkinson -c TrueColorToWebSafe -f SingleImage -o dither.png
Save single Stucki dithered image, with true colors to web safe color reduction to HTML file (includes both original and dithered images in one HTML file)
dithery half.png -m stucki -c TrueColorToWebSafe -f HTMLBasic -o dither.html
Save all ditherings to HTML file, with true colors to web safe color reduction for PNG file
dithery half.png -m All -c TrueColorToWebSafe -f HTMLBasic -o dither.html
Save all ditherings to separate .png files, with true colors to web safe color reduction for PNG file
dithery half.png -m all -c TrueColorToWebSafe -f SingleImage -o dither.png
How to install
Easiest option is to use dotnet global install
dotnet tool install -g Dithery-cli
and after that you can run Dithery-cli from any location with dithery
You can also download Windows release (an .exe file) and Linux release from Releases page
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.