resize() public méthode

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