public function isDimensionsEqual()
    {
        if($this->image1->getImageWidth() !== $this->image2->getImageWidth()
            || $this->image1->getImageHeight() !== $this->image2->getImageHeight())
        {
            return FALSE;
        }

        return TRUE;
    }
public function isDimensionsEqual()
    {
        if($this->image1->getImageWidth() !== $this->image2->getImageWidth()
            || $this->image1->getImageHeight() !== $this->image2->getImageHeight())
        {
            return FALSE;
        }

        return TRUE;
    }
public function isDimensionsEqual ( ) { if ( $ this -> image1 -> getImageWidth ( ) !== $ this -> image2 -> getImageWidth ( ) || $ this -> image1 -> getImageHeight ( ) !== $ this -> image2 -> getImageHeight ( ) ) { return FALSE ; } return TRUE ; }
Check if dimensions of images is equal.
@return bool
Check if dimensions of images is equal .