in reply to RE: Hex Embedded Images (5.004 is different)
in thread Hex Embedded Images
#!/usr/bin/perl open(IMG,'foo.gif') or die("Couldn't open image: $!\n"); binmode(IMG); undef($/); $image = <IMG>; $hex = unpack("H*", $image); close(IMG); while ($txt = substr($hex,0,32,'')) { print "'$txt'\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: (3) Hex Embedded Images (missing something obvious?)
by ybiC (Prior) on Jun 28, 2000 at 20:48 UTC | |
by btrott (Parson) on Jun 28, 2000 at 22:24 UTC |