Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trackd/sixel
Convert images to Sixel
https://github.com/trackd/sixel
module powershell sixel
Last synced: 2 months ago
JSON representation
Convert images to Sixel
- Host: GitHub
- URL: https://github.com/trackd/sixel
- Owner: trackd
- License: mit
- Created: 2024-10-09T18:33:04.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T22:49:44.000Z (2 months ago)
- Last Synced: 2024-10-26T11:05:06.081Z (2 months ago)
- Topics: module, powershell, sixel
- Language: C#
- Homepage:
- Size: 7.23 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sixel
A module that lets you convert images to sixel.
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 will probably be added as an experimental feature there as well soon.
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.
## 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
![Example](./assets/combo_example.png)
![Example](./assets/cog_xkcd.png)