mattvchandler / viewbits

View binary data visually

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

viewbits

A simple glut example program.

Reads in a file, and interprets the data as pixels.
Usage: viewbits FILE [width] [height]
If the file parameter is ommitted, file data will be read from standard input (unless on windows)
File input is truncated at 5 MB
    
Controls:
R                   Toggle RGB / grayscale
Z                   Zoom in
X                   Zoom out
Up/Down Arrow keys  Scroll display
Scroll wheel        Scroll display
Esc                 Quit

viewbits was built to use freeglut, but will most likely build just as well with regular glut with few modifications

About

View binary data visually

License:MIT License


Languages

Language:C++ 100.0%