in reply to Re: Using Image::Size
in thread Using Image::Size
This gave me the following output: ARRAY(0x8057b2c)opendir(DIR,"../images/dir/name"); @files = readdir(DIR); close(DIR); use Data::Dumper; print \@files;
This gave me an output of: ../images/dir/name: x=, y=@files = glob '../images/dir/name/*.{jpg,JPG}'; use Image::Size; for(@files) { my ($x, $y) = imgsize($_); print "$_: x=$x, y=$y<BR>\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using Image::Size
by Tanktalus (Canon) on Sep 24, 2005 at 02:28 UTC | |
by kmarshall (Novice) on Sep 24, 2005 at 03:07 UTC | |
by Tanktalus (Canon) on Sep 24, 2005 at 15:04 UTC | |
by kmarshall (Novice) on Sep 24, 2005 at 16:37 UTC | |
|
Re^3: Using Image::Size
by nedals (Deacon) on Sep 24, 2005 at 01:57 UTC |