thalismind commited on
Commit ·
b51a823
1
Parent(s): 325a997
merge readmes
Browse files- README.SPACE.md +0 -39
- README.md +11 -0
README.SPACE.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Pixel Art Converter
|
| 3 |
-
emoji: 🎨
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: purple
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version: 4.0.0
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
---
|
| 11 |
-
|
| 12 |
-
# Pixel Art Converter
|
| 13 |
-
|
| 14 |
-
Convert your images into pixel art with customizable palettes! This application supports both dynamic and fixed color palettes, with various color matching modes.
|
| 15 |
-
|
| 16 |
-
## Features
|
| 17 |
-
|
| 18 |
-
- Convert images to pixel art with customizable pixel sizes
|
| 19 |
-
- Two palette modes:
|
| 20 |
-
- Dynamic: Automatically generates an optimal palette using K-means clustering
|
| 21 |
-
- Fixed: Uses colors from a provided palette image
|
| 22 |
-
- Multiple color matching modes:
|
| 23 |
-
- RGB: Matches colors based on RGB distance
|
| 24 |
-
- Hue: Matches colors based on hue similarity
|
| 25 |
-
- Brightness: Matches colors based on grayscale brightness
|
| 26 |
-
|
| 27 |
-
## How to Use
|
| 28 |
-
|
| 29 |
-
1. Upload an input image using the "Input Image" component
|
| 30 |
-
2. Choose between dynamic or fixed palette mode
|
| 31 |
-
3. For dynamic palette: Set the number of colors (2-32)
|
| 32 |
-
4. For fixed palette: Upload a palette image containing the colors you want to use
|
| 33 |
-
5. Select the color matching mode (RGB, Hue, or Brightness)
|
| 34 |
-
6. Adjust the pixel size if desired
|
| 35 |
-
7. Click "Convert to Pixel Art" to process the image
|
| 36 |
-
|
| 37 |
-
## Creating a Palette Image
|
| 38 |
-
|
| 39 |
-
For fixed palette mode, create an image containing the colors you want to use. Each color should be represented by at least one pixel. The order of colors doesn't matter, and you can use any arrangement of the colors in the image.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Pixel Art Converter
|
| 2 |
|
| 3 |
A Python application that converts images into pixel art using Gradio for the user interface. The application supports both dynamic and fixed color palettes, with various color matching modes.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Pixel Art Converter
|
| 3 |
+
emoji: 🎨
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 4.0.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
# Pixel Art Converter
|
| 13 |
|
| 14 |
A Python application that converts images into pixel art using Gradio for the user interface. The application supports both dynamic and fixed color palettes, with various color matching modes.
|