From 2300d2813a524cbfeabac794335e7abe99263df6 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 29 Dec 2015 23:10:50 -0500 Subject: initial commit --- bitmapdump.pl | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 bitmapdump.pl (limited to 'bitmapdump.pl') diff --git a/bitmapdump.pl b/bitmapdump.pl new file mode 100755 index 0000000..fb44a6f --- /dev/null +++ b/bitmapdump.pl @@ -0,0 +1,34 @@ +#!/usr/bin/perl -w + +# browse through a binary file looking for bitmapped graphics, +# especially fonts + +# user is expected to pipe through less + +$height = 8; # how many rows to display per block +$width = 8; # how many blocks to display per line + +undef $/; +$data = <>; + +for($offs=0; $offs