src/bulletproof.php
public function getWidth()
    {
      if ($this->width != null) {
        return $this->width;
      }

      list($width) = getimagesize($this->_files['tmp_name']);

      return $width;
    }
public function getWidth()
    {
      if ($this->width != null) {
        return $this->width;
      }

      list($width) = getimagesize($this->_files['tmp_name']);

      return $width;
    }
public function getWidth ( ) { if ( $ this -> width != null ) { return $ this -> width ; } list ( $ width ) = getimagesize ( $ this -> _files [ 'tmp_name' ] ) ; return $ width ; }
Returns the image width.

@return int
Returns the image width .