From f103b04c261f0a658ffe125a338415ebbb51164d Mon Sep 17 00:00:00 2001 From: tznind Date: Sun, 15 Sep 2024 11:28:42 +0100 Subject: [PATCH] Attribution for the WriteSixel method --- Terminal.Gui/Drawing/SixelEncoder.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Terminal.Gui/Drawing/SixelEncoder.cs b/Terminal.Gui/Drawing/SixelEncoder.cs index 662b9b31c..f88370c56 100644 --- a/Terminal.Gui/Drawing/SixelEncoder.cs +++ b/Terminal.Gui/Drawing/SixelEncoder.cs @@ -41,6 +41,7 @@ public class SixelEncoder /* + A sixel is a column of 6 pixels - with a width of 1 pixel Column controlled by one sixel character: @@ -52,7 +53,13 @@ public class SixelEncoder [ ] - Bit 5 (bottom-most pixel) */ - + /** + * This method is adapted from + * https://github.com/jerch/node-sixel/ + * + * Copyright (c) 2019 Joerg Breitbart. + * @license MIT + */ private string WriteSixel (Color [,] pixels) { StringBuilder sb = new StringBuilder ();