Browse Source

Attribution for the WriteSixel method

tznind 10 months ago
parent
commit
f103b04c26
1 changed files with 8 additions and 1 deletions
  1. 8 1
      Terminal.Gui/Drawing/SixelEncoder.cs

+ 8 - 1
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
         A sixel is a column of 6 pixels - with a width of 1 pixel
 
 
      Column controlled by one sixel character:
      Column controlled by one sixel character:
@@ -52,7 +53,13 @@ public class SixelEncoder
        [ ]  - Bit 5 (bottom-most pixel)
        [ ]  - 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)
     private string WriteSixel (Color [,] pixels)
     {
     {
         StringBuilder sb = new StringBuilder ();
         StringBuilder sb = new StringBuilder ();