mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Move license to top of page and credit both source repos
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
using Terminal.Gui;
|
||||
// This code is based on existing implementations of sixel algorithm in MIT licensed open source libraries
|
||||
// node-sixel (Typescript) - https://github.com/jerch/node-sixel/tree/master/src
|
||||
// Copyright (c) 2019, Joerg Breitbart @license MIT
|
||||
// libsixel (C/C++) - https://github.com/saitoha/libsixel
|
||||
// Copyright (c) 2014-2016 Hayaki Saito @license MIT
|
||||
|
||||
using Terminal.Gui;
|
||||
|
||||
namespace Terminal.Gui;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Encodes a images into the sixel console image output format.
|
||||
/// </summary>
|
||||
@@ -62,13 +69,6 @@ public class SixelEncoder
|
||||
return start + defaultRatios + completeStartSequence + noScaling + fillArea + pallette + pixelData + terminator;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is adapted from
|
||||
* https://github.com/jerch/node-sixel/
|
||||
*
|
||||
* Copyright (c) 2019 Joerg Breitbart.
|
||||
* @license MIT
|
||||
*/
|
||||
private string WriteSixel (Color [,] pixels)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user