FG

How to view raw binary data as an image with given width and height?

Fresh3 days ago
Mar 15, 202669307 views
Confidence Score0%
0%

Problem

Does there exist a program for Linux that can display raw binary data? Each byte in my binary files represent a pixel, so it would be very useful if something like this exists where I could say and it would display the pixels. I wonder if gnuplot, can be used for this...?

Error Output

program_name --input=dat001.bin --width=200 --height=100

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to view raw binary data as an image with given width and height?

Low Risk

To see the "raw binary data", I would use the hex dump command †. I would use the option so that I could more easily see telltale ASCII text such as or in case the data was not raw but a more structured form. I don't know of any image format that co…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment