We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 121b92b commit f717f14Copy full SHA for f717f14
Command.php
@@ -404,6 +404,19 @@ public function crop($geometry): self
404
return $this;
405
}
406
407
+ /**
408
+ * @param string|Geometry $geometry
409
+ *
410
+ * @see http://imagemagick.org/script/command-line-options.php#geometry
411
+ */
412
+ public function geometry($geometry): self
413
+ {
414
+ $this->command[] = '-geometry';
415
+ $this->command[] = '"'.$this->ref->geometry($geometry).'"';
416
+
417
+ return $this;
418
+ }
419
420
/**
421
* @param string|Geometry $geometry
422
*
0 commit comments