Skip to content

research(id): image/video conversion tooling — kitty graphics and video-to-ASCII (#5971) - #13621

Merged
dezren39 merged 1 commit into
mainfrom
felix/5971-conversion-research
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
felix/5971-conversion-research

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Research deliverable for #5971 (worlds program #5955, brief statements S73–S74): the conversion half that the closed rendering-ladder design #6011 explicitly left open — the ladder picks a tier; this doc says how media becomes that tier's bytes.

What is in it:

  • Done check (§1): detection bits already exist in world_terminal.rs; no encoder/converter exists yet; the id: Phase 13 F13.4 presentation capability tiers with in-band terminal detection #786 boundary (presenter owns encoding, guests never supply escape bytes) is taken as binding. The brief's 'IDF tools' could not be identified as a tool family — recorded plainly, with the nearest real referent, as an open question for Drew on the issue.
  • Kitty graphics survey (§2): wire mechanics a converter must honor (PNG vs raw payloads, 4096-char chunking, mediums, IDs/placements/placeholders, query), stills vs upload-once animation vs streaming video verdicts, and a sourced terminal support matrix.
  • Tooling landscape with licenses (§3–§4): the headline is that the kitty encoder is not a library problem — hand-roll it over the image crate; GPL tools (icat, timg, mpv, chafa CLI) are oracles, never parts. Video-to-ASCII field surveyed by output shape (ASCII / symbols / braille) with quality, speed, and color findings.
  • Placement decision (§5, proposed): placement follows what the output depends on — viewer-independent conversions at upload (normalization, sanitization, poster/web derivatives), viewer-dependent conversions at render in the presenter (all terminal tiers), derivatives cached by (content hash, tier, geometry bucket, converter version) in the media plane.
  • Recommended pipeline per tier (§6): one shared front half; kitty graphics / ASCII video / static ASCII pipelines as the issue names, plus sixel (libsixel) and iTerm2 (passthrough) for ladder completeness.

The first build slice is filed as a separate scoped issue (linked on #5971). No code, no new dependencies, no schedules.

Closes #5971


Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit 9a0d6e6 into main Nov 23, 2026
1 of 2 checks passed
@dezren39
dezren39 deleted the felix/5971-conversion-research branch November 23, 2026 18:34
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: research: image/video conversion tooling — kitty graphics protocol and video-to-ASCII

1 participant