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';
In reply to Re: Extracting Image/File Metadata
by pfaut
in thread Extracting Image/File Metadata
by JunkGuy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |