■ このスレッドは過去ログ倉庫に格納されています
プログラミングに強い奴きてくれ ソースあり
- 150 :風吹けば名無し:2021/12/06(月) 19:43:36.43 ID:FtwRK7bn0.net
- // サイズが指定より大きい場合
$ratio_w = $imgWidthSize/$specifyWidth
$ratio_h = $imgHeightSize/$specifyHeight
if($ratio_w>1 || $ratio_h>1){
if($ratio_w<$ratio_h){
$newWidth = $specifyWidth;
$newHeight = floor($imgHeightSize*$ratio);
}else{
$newWidth = floor($imgWidthSize*$ratio);
$newHeight = $specifyHeight;
}
よくわからん
総レス数 191
38 KB
新着レスの表示
掲示板に戻る
全部
前100
次100
最新50
read.cgi ver.24052200