about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--adapter/img/sixel.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/adapter/img/sixel.nim b/adapter/img/sixel.nim
index 676197bf..beaac144 100644
--- a/adapter/img/sixel.nim
+++ b/adapter/img/sixel.nim
@@ -422,6 +422,7 @@ proc encode(img: openArray[RGBAColorBE]; width, height, offx, offy, cropw: int;
         if c2.a < 50: # transparent
           let diff = (int32(c2.a), 0i32, 0i32, 0i32)
           dither.fs(j, diff)
+          chunk = nil
           continue
         var diff: DitherDiff
         let c = root.getColor(c2, nodes, diff)