Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.2 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.2 KB

HexImage

File storage in paper with hexadecimal numbers and four bits font.

Usage:

FourBits font installation in Debian

# mkdir /usr/share/fonts/truetype/fourbits
# cp FourBits.ttf /usr/share/fonts/truetype/fourbits

# mkdir /usr/share/fonts/opentype/fourbits
# cp FourBits.otf /usr/share/fonts/opentype/fourbits

# cp FourBits.afm /usr/share/enscript/afm
# vi /usr/share/enscript/afm/font.map

FourBits                        FourBits

File encoding as PDF for printing:

# file2pdf.sh file file.pdf

File decoding from scanned image for file recovery:

# java -jar HexImage.jar scanned-image.jpeg hex-image.properties | xxd -r -p | bunzip2 > recovered-file

More info in "Grabación de Archivos en Papel" blog article.