mirror of
https://github.com/o2sh/onefetch
synced 2024-06-30 22:54:20 +00:00
#1341, update wiki
This commit is contained in:
parent
ed99fe2c89
commit
df49072e27
8
.github/wiki/Images-in-the-terminal.md
vendored
8
.github/wiki/Images-in-the-terminal.md
vendored
|
@ -1,12 +1,12 @@
|
|||
Onefetch supports displaying images using [`kitty`](https://sw.kovidgoyal.net/kitty/graphics-protocol.html), [`Sixel`](https://en.wikipedia.org/wiki/Sixel) and [`iTerm`](https://www.iterm2.com/documentation-images.html).
|
||||
Onefetch supports displaying images using [`kitty`](https://sw.kovidgoyal.net/kitty/graphics-protocol.html), [`Sixel`](https://en.wikipedia.org/wiki/Sixel) and [`iTerm`](https://www.iterm2.com/documentation-images.html) protocols.
|
||||
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/o2sh/onefetch/main/assets/screenshot-1.png" height="250px">
|
||||
</p>
|
||||
|
||||
When running `onefetch --image ./My-picture.jpg`, the program looks for the first `Image Backend` supported by the terminal and use it to display the requested image instead of the Ascii logo.
|
||||
When running `onefetch --image ./My-picture.jpg`, the program looks for the first `Image Protocol` supported by the terminal and use it to display the requested image instead of the Ascii logo.
|
||||
|
||||
If you decide to go manual, and want to force the use of a specific image backend --> `onefetch --image ./My-picture.jpg --image-backend sixel|kitty|iterm`
|
||||
If you decide to go manual, and want to force the use of a specific image protocol: `onefetch --image ./My-picture.jpg --image-protocol sixel|kitty|iterm`
|
||||
|
||||
### Sixel
|
||||
|
||||
|
@ -20,4 +20,4 @@ The kitty terminal graphics protocol used on the terminal of the same name allow
|
|||
|
||||
### ITerm
|
||||
|
||||
The iTerm inline image protocol supported by iTerm2 (also WezTerm) allows to display images within the terminal.
|
||||
The iTerm inline image protocol supported by iTerm2 (also WezTerm) allows to display images within the terminal.
|
||||
|
|
Loading…
Reference in New Issue
Block a user