Skip to content

Commit 2fee00d

Browse files
author
Sebastian Neubert
committed
Issue #1: Use Imagick to crop the image, remove comment
1 parent 78e0951 commit 2fee00d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

module/VisualCeption.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ private function createScreenshot ($identifier, array $coords)
8282

8383
$webDriver->takeScreenshot($screenshotPath);
8484

85-
// # $screenshotImage = imagecreatefrompng($screenshotPath);
8685
$screenShotImage = new \Imagick();
8786
$screenShotImage->readImage( $screenshotPath );
8887
$screenShotImage->cropImage( $coords['width'], $coords['height'], $coords['offset_x'], $coords['offset_y'] );

0 commit comments

Comments
 (0)