Always use true image size

master
Per Carlson 2011-11-17 22:59:31 +01:00
parent 0c1176f013
commit 937c074232
1 changed files with 3 additions and 3 deletions

View File

@ -132,9 +132,9 @@ sub preprocess (@) {
$imglink = $file;
}
}
$dwidth = $im->Get("width") unless defined $dwidth;
$dheight = $im->Get("height") unless defined $dheight;
# always get the true size of the resized image
$dwidth = $im->Get("width");
$dheight = $im->Get("height");
}
}
else {