Changeset 5845
- Timestamp:
- 2003-11-14T14:52:09+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ImagePlug.pm
r5680 r5845 309 309 310 310 # Use the ImageMagick "identify" command to get the file specs 311 my $command = "identify $image2>&1";311 my $command = "identify \"$image\" 2>&1"; 312 312 print $outhandle "$command\n" if ($verbosity > 2); 313 313 my $result = ''; … … 332 332 $size = $1; 333 333 } 334 elsif ($result =~ m/^.* ([0-9]+)(\.([0-9]+))?kb /) {334 elsif ($result =~ m/^.* ([0-9]+)(\.([0-9]+))?kb?/) { 335 335 $size = 1024 * $1; 336 336 if (defined($2)) {
Note:
See TracChangeset
for help on using the changeset viewer.