resizeToHeight() public method

Resize the image object to the height parameter passed.
public resizeToHeight ( integer | string $hgt ) : mixed
$hgt integer | string
return mixed
Example #1
0
 public function testGif()
 {
     $i = new Imagick(__DIR__ . '/../tmp/test.gif');
     $i->resizeToHeight(120);
     $this->assertEquals(120, $i->getHeight());
 }