also looking at this
Image functionalities
#68
1 file
+84
-0
| @@ -1263,6 +1263,90 @@ class Image | ||
| 1263 | 1263 | return $this; |
| 1264 | 1264 | } |
| 1265 | 1265 | |
| 1266 | /** | |
| 1267 | * Set the trim color value. | |
| 1268 | * | |
| 1269 | * @param string $value | |
| 1270 | * | |
| 1271 | * @return $this | |
| 1272 | */ | |
| 1273 | public function trimColor($value) | |
| 1274 | { | |
| 1275 | $this->args = array_merge($this->args, ['trim-color' => $value]); | |
| 1276 | ||
| 1277 | return $this; | |
| 1278 | } | |
| 1279 | ||
| 1280 | /** | |
| 1281 | * Set the trim mean difference value. | |
| 1282 | * | |
| 1283 | * @param int $value | |
| 1284 | * | |
| 1285 | * @return $this | |
| 1286 | */ | |
| 1287 | public function trimMd($value) | |
| 1288 | { | |
| 1289 | $this->args = array_merge($this->args, ['trim-md' => $value]); | |
| 1290 | ||
| 1291 | return $this; | |
| 1292 | } | |
| 1293 | ||
| 1294 | /** | |
| 1295 | * Set the trim standard deviation value. | |
| 1296 | * | |
| 1297 | * @param int $value | |
| 1298 | * | |
| 1299 | * @return $this | |
| 1300 | */ | |
| 1301 | public function trimSd($value) | |
| 1302 | { | |
| 1303 | $this->args = array_merge($this->args, ['trim-sd' => $value]); | |
| 1304 | ||
| 1305 | return $this; | |
| 1306 | } | |
| 1307 | ||
| 1308 | /** | |
| 1309 | * Set the trim tolerance value. | |
| 1310 | * | |
| 1311 | * @param int $value | |
| 1312 | * | |
| 1313 | * @return $this | |
| 1314 | */ | |
| 1315 | public function trimTol($value) | |
| 1316 | { | |
| 1317 | $this->args = array_merge($this->args, ['trim-tol' => $value]); | |
| 1318 | ||
| 1319 | return $this; | |
| 1320 | } | |
| 1321 | ||
| 1322 | /** | |
| 1323 | * Set the text leading value. | |
| 1324 | * | |
| 1325 | * @param int $value | |
| 1326 | * | |
| 1327 | * @return $this | |
| 1328 | */ | |
| 1329 | public function txtLead($value) | |
| 1330 | { | |
| 1331 | $this->args = array_merge($this->args, ['txt-lead' => $value]); | |
| 1332 | ||
| 1333 | return $this; | |
| 1334 | } | |
| 1335 | ||
| 1336 | /** | |
| 1337 | * Set the text leading value. | |
| 1338 | * | |
| 1339 | * @param int $value | |
| 1340 | * | |
| 1341 | * @return $this | |
| 1342 | */ | |
| 1343 | public function txtTrack($value) | |
| 1344 | { | |
| 1345 | $this->args = array_merge($this->args, ['txt-track' => $value]); | |
| 1346 | ||
| 1347 | return $this; | |
| 1348 | } | |
| 1349 | ||
| 1266 | 1350 | /** |
| 1267 | 1351 | * Convert all parameters to string url. |
| 1268 | 1352 | * |