Hi, tachyon-II:
You are right, I have used GD::Image to grab size-infomation of about 99% image files. only those with type "PC bitmap data, Windows 3.x format" not available through GD::Image. but I can grab this missing information from running Linux 'file' command anyway. Just want to know if there is a Perl module which can handle this, instead of use code like below(untested):
my $imginfo = qx[ file $myimg ]; my (width, height)= ($imginfo =~ m{(\d+) x (\d+) x \d+});
thanks.
lihao
In reply to Re^2: Question: module to grab file information??
by lihao
in thread Question: module to grab file information??
by lihao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |