Skip to content

Commit

Permalink
final changes for v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrlowe committed Oct 28, 2020
1 parent 4beefb1 commit 81fe06f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ By default, the character map is set to `"█▓▒░ "`, but you can override
* You can generate ASCII art by using character maps such as `"@#?)l+-. "`.
* Make sure you have escaped any characters you need to with a back to slash (`\`).
* You don't have to sort your characters from darksest to lightest or vice versa. Play around with what works for specfic images, and see if you can create any interesting effects.
* Padding your character maps can be useful when brightness is not evenly distributed. For example, if your image has mostly dark tones, then your character map might look something like this: `"█▓▒░░ "` (assuming it the start of the character map represents the darker tones) as this will make it easier to distinguish between similar colors.
* Padding your character maps can be useful when brightness is not evenly distributed. For example, if your image has mostly dark tones, then your character map might have some extra spaces on the end, so that it is easier to distinguish between darker colors than lighter ones.
* Currently there is a bug in std/flags which means that using the shortened/alias flag (`-m`) won't work if there is an `=` character in the character map. You will have to use `--character-map` instead.

Currently characters that JavaScript handles as having a length of greater than 1 (like emojis) do not work when you are using a character map string. You can get them to work by using a character map array, but this isn't possible with the CLI tool.
Expand Down
5 changes: 3 additions & 2 deletions egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
"entry": "./mod.ts",
"description": "A Deno module and CLI tool for displaying images in the terminal",
"homepage": "https://github.com/TheWizardBear/terminal_images",
"version": "0.2.0",
"version": "1.0.0",
"unstable": true,
"files": [
"./README.md",
"./mod.ts",
"./LICENSE",
"./deps.ts",
"./cli.ts",
"./.gitignore"
"./.gitignore",
"./images/*"
],
"checkFormat": false,
"checkTests": false,
Expand Down

0 comments on commit 81fe06f

Please sign in to comment.