Skip to content

Commit

Permalink
修改: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
A4-Tacks committed Feb 20, 2023
1 parent 5cdda6f commit 81a8f47
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,52 @@
# Display image for terminal (VT100)
- For details, see - H and -- help
```
A4-Tacks <[email protected]>
USAGE:
timg [FLAGS] [OPTIONS] [FILE]
FLAGS:
--disable-default-colors
--disable-empty-char
-H, --help Prints help information
-s, --no-split-edge No split edge
--output-colors
-V, --version Prints version information
OPTIONS:
-b, --background-color <color> Display image background color
(default:000000)
--colors <colors> Define color output.
format: 38;2;0;0;0:30,48;2;0;0;0:40
-c, --crop-image <range> crop image
(format:-c 'x,y-w,h') (0f-100f)
--empty-char <char> Set empty char\n(default:\x20)
-t, --filter <id> Type of filter used
0: Nearest (quick)
1: Triangle
2: CatmullRom
3: Gaussian
4: Lanczos3 (default)
-f, --foreground <char> Set display foreground char
-h, --height <height> Set display image height
-d, --optimization-level <level> Set optimization level
(default:1) [0, 255]
-w, --width <width> Set display image width
ARGS:
<FILE> Target file
```

# Update Log

## v1.0.1
- Fixed bug: extra empty lines at the end

## v1.1.0
- Added function: output specified characters when the foreground and background colors are similar to reduce the rendering pressure and space occupation of half-height characters
- - Add Flag: --disable-empty-char
- - Add Option: --empty-char

## v1.2.0
- Add crop picture options

0 comments on commit 81a8f47

Please sign in to comment.