Skip to content
/ Sixel Public

Powershell Module to Convert images to Sixel/InlineImage/Kitty

License

Notifications You must be signed in to change notification settings

trackd/Sixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
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

Install

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

# test sixel
Invoke-RestMethod https://raw.githubusercontent.com/trackd/Sixel/refs/heads/main/assets/chibi.six

Authors

@trackd
@ShaunLawrie

Todo

  1. Better docs/help
  2. Tests
  3. Animated sixels

libraries

Sixlabors.Imagesharp

examples

Example
Example

About

Powershell Module to Convert images to Sixel/InlineImage/Kitty

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published