resize() public method

Resize the image object to the largest dimension
public resize ( integer | string $px ) : Imagick
$px integer | string
return Imagick
Example #1
0
 public function testResize()
 {
     $i = new Imagick(__DIR__ . '/../tmp/test.jpg');
     $i->resize(240);
     $this->assertEquals(240, $i->getWidth());
 }