Changeset 346 for trunk/client/modules/Elezioni/grafici/gd_image.inc.php
- Timestamp:
- Mar 30, 2021, 11:16:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici/gd_image.inc.php
r340 r346 109 109 } 110 110 else { 111 //JpGraphError::RaiseL(25128);//('The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.')111 JpGraphError::RaiseL(25128);//('The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.') 112 112 } 113 113 } … … 221 221 } 222 222 223 static function GetWidth($aImg=null) { 224 if( $aImg === null ) { 225 $aImg = $this->img; 226 } 223 static function GetWidth($aImg) { 227 224 return imagesx($aImg); 228 225 } 229 226 230 static function GetHeight($aImg=null) { 231 if( $aImg === null ) { 232 $aImg = $this->img; 233 } 227 static function GetHeight($aImg) { 234 228 return imagesy($aImg); 235 229 } … … 2271 2265 function GetAndStream($aImage,$aCacheFileName) { 2272 2266 if( $this->Isvalid($aCacheFileName) ) { 2273 $this->StreamImgFile($aImage,$aCacheFileName);2267 return $this->StreamImgFile($aImage,$aCacheFileName); 2274 2268 } 2275 2269 else {
Note:
See TracChangeset
for help on using the changeset viewer.