https://github.com/trackd/sixel
Powershell Module to Convert images to Sixel/InlineImage/Kitty
https://github.com/trackd/sixel
inlineimage kitty-graphics module powershell sixel
Last synced: 11 months ago
JSON representation
Powershell Module to Convert images to Sixel/InlineImage/Kitty
- Host: GitHub
- URL: https://github.com/trackd/sixel
- Owner: trackd
- License: mit
- Created: 2024-10-09T18:33:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-10T00:29:54.000Z (11 months ago)
- Last Synced: 2025-03-16T11:41:43.839Z (11 months ago)
- Topics: inlineimage, kitty-graphics, module, powershell, sixel
- Language: C#
- Homepage:
- Size: 10.9 MB
- Stars: 17
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sixel
A module that lets you convert images to Sixel, Inline Images Protocol, Kitty Graphics Protocol.
Supports converting bmp, gif, jpeg, pbm, png, tiff, tga, webp to sixel.
This code was originally meant to be added to [PwshSpectreConsole](https://github.com/ShaunLawrie/PwshSpectreConsole)
But we wanted to get something out quickly for people who wanted to test sixel.
It uses an Assembly load context for the Sixlabors library, from [PowerShell-ALC](https://github.com/jborean93/PowerShell-ALC)
## Install
```powershell
Install-Module Sixel
# or
Install-PSResource Sixel
```
## Requirements
This module requires Powershell version 7.4+
We test against the latest Windows Terminal Preview.
Sixel support has not been added to Windows Terminal Stable branch yet.
There is an example sixel file in the ./assets folder that can be used for testing
```powershell
# test sixel
Invoke-RestMethod https://raw.githubusercontent.com/trackd/Sixel/refs/heads/main/assets/chibi.six
```
## Authors
**[@trackd](https://github.com/trackd)**
**[@ShaunLawrie](https://github.com/ShaunLawrie)**
## Todo
1. Better docs/help
2. Tests
3. Animated sixels
## libraries
[Sixlabors.Imagesharp](https://github.com/SixLabors/ImageSharp)
## examples

