cropThumb() public méthode

Crop the image object to a square image
public cropThumb ( integer | string $px, integer | string $x, integer | string $y ) : Imagick
$px integer | string
$x integer | string
$y integer | string
Résultat Imagick
Exemple #1
0
 public function testCropThumb()
 {
     $i = new Imagick(__DIR__ . '/../tmp/test.jpg');
     $i->cropThumb(50);
     $this->assertEquals(50, $i->getWidth());
 }