SimpleSoftwareIO\QrCode\Image::getHeight PHP Method

getHeight() public method

* Returns the height of an image
public getHeight ( )
    public function getHeight()
    {
        return imagesy($this->image);
    }

Usage Example

Example #1
0
 public function test_it_gets_the_correct_height()
 {
     $correctHeight = 512;
     $testHeight = $this->image->getHeight();
     $this->assertEquals($correctHeight, $testHeight);
 }