# Visualizing binary files: from colored hex dumps to raw PGM images

> Hacker News story 49423878 · language: en · submitted 2026-08-24
> Web version: https://zeli.app/story/49423878
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 126 · by [zdw](<https://news.ycombinator.com/user?id=zdw>) · 💬 18
[original](<https://movq.de/blog/postings/2026-08-05/0/POSTING-en.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49423878>)

## Summary

The author of the hex editor 'bine' adds color and visualization features. To avoid the performance cost of many ncurses calls, they use Unicode block characters in the ASCII column to mark non-printable bytes. For large files, they simply map bytes to pixels in a PGM image, revealing structure like code, text, and tables in executables and archives.

## Key quote

> All this simply exploits the properties of the data.

## HN discussion (18 comments)

### [1970-01-01](<https://news.ycombinator.com/item?id=49437155>)

> And binwalk if you want to find the juice within the file.
>
> https://github.com/ReFirmLabs/binwalk/wiki/Supported-Signatu...

### [st_goliath](<https://news.ycombinator.com/item?id=49436887>)

> You might be interested in GNU poke[1][2], a hex-editor type program that can actually parse and visualize the structure of binary data (using a DSL for describing formats).
>
> [1] https://jemarch.net/poke
>
> [2] https://news.ycombinator.com/item?id=34986042

### [nvalis](<https://news.ycombinator.com/item?id=49436522>)

> I always liked the 3D visualization in Veles[0]. It's very intuitive to make out structured ASCII or other non-compressed sections in binary data.
>
> [0] https://github.com/codilime/veles

---

## Cite

- Page: https://zeli.app/story/49423878
- Date: 2026-08-24
- Source: movq.de (https://movq.de/blog/postings/2026-08-05/0/POSTING-en.html)
- Hacker News: https://news.ycombinator.com/item?id=49423878

## Other languages

- zh: https://zeli.app/zh/story/49423878 · markdown: https://zeli.app/zh/story/49423878.md
- ja: https://zeli.app/ja/story/49423878 · markdown: https://zeli.app/ja/story/49423878.md
- ko: https://zeli.app/ko/story/49423878 · markdown: https://zeli.app/ko/story/49423878.md
- de: https://zeli.app/de/story/49423878 · markdown: https://zeli.app/de/story/49423878.md
- es: https://zeli.app/es/story/49423878 · markdown: https://zeli.app/es/story/49423878.md
- ru: https://zeli.app/ru/story/49423878 · markdown: https://zeli.app/ru/story/49423878.md
