An open API service indexing awesome lists of open source software.

https://github.com/safememoryzone/binvis

Binary visualiser written in C using RayLib.
https://github.com/safememoryzone/binvis

binary-visualization c

Last synced: about 2 months ago
JSON representation

Binary visualiser written in C using RayLib.

Awesome Lists containing this project

README

        

# binvis

Binary visualiser written in C using RayLib.

## Usage

```console
$ ./binvis [-a ] [--m] [-w ] [-h ] -f
```

- `-a` specifies the alpha step (greater alpha, brighter pixels - 255 is max)
- `--m` specifies to use max mode (the most referenced pixel will be the brightest)
- `-w` specifies the window width
- `-h` specifies the window height
- `-f` specifies the path to the file to be visualised (required)

## Keybidings

- `` to close the window
- `` to take screenshot and save it to `screenshot.png`

## Quick start

1. Create a build directory

```console
$ mkdir build
```

2. Compile the project

```console
$ cmake -B build -S .
$ cmake --build build
```

3. Run the project

```console
$ ./build/src/binvis -f
```