You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+74-10Lines changed: 74 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,16 +73,80 @@ Returns available character sets with descriptions and recommendations.
73
73
74
74
## Character Sets
75
75
76
-
| Name | Levels | Best for | Description |
77
-
|------|--------|----------|-------------|
78
-
|`detailed`| 10 | both | ASCII gradient, good all-rounder |
79
-
|`classic`| 70 | photo | Maximum tonal range |
80
-
|`simple`| 9 | photo | Unicode block shading |
81
-
|`hifi`|~9 | photo | Repeated chars for fine gradation |
82
-
|`minimal`| 3 | logo | Binary black/white, crispest edges |
83
-
|`blocks`|~4 | logo | Coarse block shading |
84
-
|`dense`|~4 | logo | Heavy block shading |
85
-
|`ultra`|~9 | both | Balanced ASCII gradation |
76
+
Each charset maps pixel brightness to a different set of characters. The number of unique characters determines how much tonal detail you get.
77
+
78
+
### `detailed` — 10 levels, good all-rounder (default)
79
+
80
+
`@%#*+=-:. ` — balanced between detail and readability. Works for both photos and logos.
81
+
82
+

83
+
84
+
### `classic` — 70 levels, maximum tonal range
85
+
86
+
`$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~<>i!lI;:,"^'. ` — the most detailed charset. Every subtle gradient gets its own character. Best for photos where you want maximum fidelity.
87
+
88
+

89
+
90
+
### `simple` — 9 levels, Unicode block shading
91
+
92
+
`█▉▊▋▌▍▎▏ ` — smooth, print-like appearance using Unicode block elements. Looks like a halftone print.
93
+
94
+

95
+
96
+
### `blocks` — ~4 levels, coarse block shading
97
+
98
+
`██▓▒░ ` — bold, high-contrast look. Good for logos and silhouettes where you want punch over detail.
99
+
100
+

101
+
102
+
### `minimal` — 3 levels, binary
103
+
104
+
`■□ ` — just solid, outline, and empty. Crispest edges, no gradients. Best for logos and icons.
105
+
106
+

107
+
108
+
### `hifi` — ~9 levels, fine gradation
109
+
110
+
Repeated characters (`@@@###***+++===---:::...`) create smooth tonal bands. Good for photos.
111
+
112
+

113
+
114
+
### `dense` — ~4 levels, heavy block shading
115
+
116
+
Heavy Unicode blocks — bold, poster-like look.
117
+
118
+

119
+
120
+
### `ultra` — ~9 levels, balanced ASCII
121
+
122
+
Repeated ASCII characters (`@@@###***+++===---:::...`) — like `hifi` but pure ASCII, no Unicode.
123
+
124
+

125
+
126
+
## Choosing a Width
127
+
128
+
The `width` parameter controls how many characters wide the output is. More characters = more detail, but also more text.
| 120 | Wide terminals | Sharp, features visible |
135
+
| 200 | Maximum detail | Near-photographic |
136
+
137
+
### Width 40
138
+

139
+
140
+
### Width 80 (default)
141
+

142
+
143
+
### Width 120
144
+

145
+
146
+
### Width 200
147
+

148
+
149
+
**Rule of thumb:** match `width` to where the output will be displayed. Terminal? Use 80-120. Discord message? Use 40-60. Saving to a file? Go big with 160-200.
0 commit comments