From c50cb10945f7ab285674d0ab7e66d61467daf22d Mon Sep 17 00:00:00 2001 From: prabhat Date: Tue, 31 Jan 2017 11:44:29 +0530 Subject: [PATCH 1/2] add strip options --- CommandOptions.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CommandOptions.php b/CommandOptions.php index 466c947..d67d815 100644 --- a/CommandOptions.php +++ b/CommandOptions.php @@ -130,4 +130,14 @@ public function rotate($rotation) return $this; } -} + /** + * @return $this + */ + public function strip() + { + $this->command .= ' -strip '; + + return $this; + } + +} \ No newline at end of file From 7ff12086904773a0c77c42682a04434894fd3d41 Mon Sep 17 00:00:00 2001 From: prabhat Date: Tue, 31 Jan 2017 16:03:02 +0530 Subject: [PATCH 2/2] add newLine --- CommandOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommandOptions.php b/CommandOptions.php index d67d815..8b34d4f 100644 --- a/CommandOptions.php +++ b/CommandOptions.php @@ -140,4 +140,4 @@ public function strip() return $this; } -} \ No newline at end of file +}