@@ -150,10 +150,10 @@ |
||
| 150 | 150 | $src_y = round(($src_h - ($src_h / $cmp_y * $cmp_x))); //2 |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | - $src_x = (int)$src_x; |
|
| 154 | - $src_h = (int)$src_h; |
|
| 155 | - $src_y = (int)$src_y; |
|
| 156 | - $src_y = (int)$src_y; |
|
| 153 | + $src_x = (int) $src_x; |
|
| 154 | + $src_h = (int) $src_h; |
|
| 155 | + $src_y = (int) $src_y; |
|
| 156 | + $src_y = (int) $src_y; |
|
| 157 | 157 | |
| 158 | 158 | if ($this->imageMime == "image/jpeg") { |
| 159 | 159 | return $this->fromJpg($width, $height, $src_x, $src_y, $src_w, $src_h); |