Skip to content

Transparent Sixel support is broken #96

@NSPC911

Description

@NSPC911
2026-04-10.17-34-19.mp4

Image used (save as gracehopper.png)

Image

Diff used:

diff --git a/textual_image/demo/renderable.py b/textual_image/demo/renderable.py
index 19937dc..c649878 100755
--- a/textual_image/demo/renderable.py
+++ b/textual_image/demo/renderable.py
@@ -25,7 +25,7 @@ from textual_image.renderable import (
     UnicodeImage as UnicodeRenderable,
 )
 
-TEST_IMAGE = Path(__file__).parent / ".." / "gracehopper.jpg"
+TEST_IMAGE = Path(__file__).parent / ".." / "gracehopper.png"
 
 RENDERING_METHODS = {
     "auto": AutoRenderable,
diff --git a/textual_image/demo/widget.py b/textual_image/demo/widget.py
index c9499d8..1f3c06a 100755
--- a/textual_image/demo/widget.py
+++ b/textual_image/demo/widget.py
@@ -18,7 +18,7 @@ from textual.widgets.option_list import Option
 from textual_image.widget import HalfcellImage, SixelImage, TGPImage, UnicodeImage
 from textual_image.widget import Image as AutoImage
 
-TEST_IMAGE = Path(__file__).parent / ".." / "gracehopper.jpg"
+TEST_IMAGE = Path(__file__).parent / ".." / "gracehopper.png"
 
 
 RENDERING_METHODS = {
@@ -330,7 +330,7 @@ class DemoApp(App[None]):
 
 def run(rendering_method: str = "auto") -> None:
     """Showcase textual-image's Rich renderables."""
-    app = DemoApp()
+    app = DemoApp(ansi_color=True)
     app.image_type = rendering_method
     app.run()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions