摘要: 1 getImageWidth(); 10 $height = $Image->getImageHeight(); 11 //判断该相片是否长宽相等 12 if($width != $height){ 13 //不相等则先以最小边为长度截取图片中心部分 1... 阅读全文