diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-24 18:14:00 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-24 18:19:58 +0100 |
commit | f11c942585446be074412b2cc270f30532351882 (patch) | |
tree | 5bc37a67f6bde5dccd8d685b47ef6f9602e33a26 /src/img | |
parent | ea3c192626b4a33d9a6201d82a1b4a1f306f58eb (diff) | |
download | chawan-f11c942585446be074412b2cc270f30532351882.tar.gz |
Allow non-RGB colors in CSS
The -cha-ansi color type now sets ANSI colors in CSS. Also, color correction etc. has been improved a bit: * don't completely reset output state in processFormat for new colors * defaultColor is now separated from ANSI color type 0 * bright ANSI colors are no longer replaced with bold + dark variant * replaced ANSI color map to match xterm defaults
Diffstat (limited to 'src/img')
-rw-r--r-- | src/img/png.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/img/png.nim b/src/img/png.nim index 8239c35f..047a080f 100644 --- a/src/img/png.nim +++ b/src/img/png.nim @@ -108,7 +108,7 @@ type PNGReader = object i: int bitDepth: uint8 colorType: PNGColorType - background: RGBColor + background: RGBAColor isend: bool idatBuf: seq[uint8] uprow: seq[uint8] |