Masato Kikuhara
en-sf****@users*****
2005年 7月 3日 (日) 08:06:02 JST
Index: affelio/apps/diary/show_image.cgi
diff -u affelio/apps/diary/show_image.cgi:1.3 affelio/apps/diary/show_image.cgi:1.4
--- affelio/apps/diary/show_image.cgi:1.3 Sat Jul 2 07:47:21 2005
+++ affelio/apps/diary/show_image.cgi Sun Jul 3 08:06:02 2005
@@ -35,7 +35,7 @@
$image->Read(filename => $filepath);
my ($w, $h) = $image->Get('columns', 'rows');
if ($w > $width or $h > $height) {
- $image->Resize(geometry => "$widthx$height");
+ $image->Resize(geometry => $width.'x'.$height);
$image->Set(quality => 75);
}
$image->Write(file => \*STDOUT);