Follow

This is such a noob question. I’m trying to make a black and white image representation of a binary file. The PGM format grabs the data in bytes, rather than bits, and makes a nice grayscale image instead. Can I just pad each bit to make a byte so I only have 2 colors? Surely there is a simple command line tool for this, instead of me having to write something?

I figured it out. Had to write something small. The printout of the binary data looks clear and should scan in well. Now, just need to do something for data redundancy like Par2. Not sure how I'm going to get the data out of the scan yet though. The PaperBak program is pretty cool, but doesn't live up to its stated data density by a long shot.

Sign in to participate in the conversation
Camp Duffel

We Do Camps!