Gets width of the destination image
public getDestWidth ( ) : integer | ||
리턴 | integer |
public function testCropLargerNotAllowed() { $image = $this->createImage(200, 100, 'png'); $resize = new ImageResize($image); $resize->crop(500, 500); $this->assertEquals(200, $resize->getDestWidth()); $this->assertEquals(100, $resize->getDestHeight()); }