in reply to Extracting Image/File Metadata
You can use sysread to read the header out of the file. Then, use something like Data::FixedFormat or Parse::FixedLength to decode the information. These modules use pack and unpack to manipulate buffers of (possibly binary) data.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Extracting Image/File Metadata
by JunkGuy (Initiate) on Feb 05, 2003 at 23:47 UTC | |
by pfaut (Priest) on Feb 06, 2003 at 04:34 UTC |