Commit: 1cdfbf0
Parent: eb3bad0

Add READMEs

Mårten Åsberg committed on 2026-08-13 at 13:20
Colors/README.md +3 -0
diff --git a/Colors/README.md b/Colors/README.md
new file mode 100644
index 0000000..5963820
@@ -0,0 +1,3 @@
# Colors
This is used for analyzing the colors in images. It is based on [Color Thief](https://github.com/lokesh/color-thief) and in some parts based on [ColorThief.ImageSharp](https://github.com/Corona-Studio/ColorThief.ImageSharp/).
Colors/example/README.md +18 -0
diff --git a/Colors/example/README.md b/Colors/example/README.md
new file mode 100644
index 0000000..81080f4
@@ -0,0 +1,18 @@
# Colors example
This example shows how the palette extraction can work.
If called with the path to an image it will output a color palette with up to 6 colors, and the percentage of the image each color averages over.
```pwsh
dotnet run -- .\images\example1.jpg
```
<pre>
<span style="color: #76D4D5">████</span> │ <span style="color: #A97F54">████</span> │ <span style="color: #2C2015">████</span> │ <span style="color: #2E7171">████</span> │ <span style="color: #99DA41">████</span> │ <span style="color: #8C808D">████</span>
50% │ 27% │ 16% │ 5% │ 2% │ 1%
</pre>
## Example images
The example images are borrowed from [Color Thief](https://lokeshdhakar.com/projects/color-thief/#hero-demo).
README.md +2 -0
diff --git a/README.md b/README.md
index 637fab3..c914f7b 100644
@@ -1 +1,3 @@
# Mosaic
This project aims to build digital mosaic images out of many images as "pixels".