Skip to content

Commit 3917686

Browse files
committed
Doc update
1 parent 14e3802 commit 3917686

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,20 @@ Features
7575
* Optional GPU-accelerated rendering via Metal (macOS, iOS, visionOS)
7676
* Seems pretty fast to me
7777

78+
### Image formats
79+
80+
SwiftTerm supports these image data formats:
81+
82+
* **Sixel** image streams.
83+
* **PNG** images through the iTerm2 and Kitty graphics protocols.
84+
* **JPEG** images through the iTerm2 graphics protocol.
85+
* **Raw RGB** (24-bit) and **RGBA** (32-bit) pixel data through the Kitty
86+
graphics protocol.
87+
88+
For iTerm2 images, the Apple views use the system image decoder. Other image
89+
formats that the target platform can decode can also work, but PNG and JPEG
90+
are the tested formats.
91+
7892
# SwiftTerm library
7993

8094
The SwiftTerm library itself contains the source code for both

0 commit comments

Comments
 (0)