code: public String getRatio() {
  
          if (m_ratio == null) {
              m_ratio = "" + getScaler().getWidth() + "-" + getScaler().getHeight();
          }
          return m_ratio;
      }
docs: Returns the image ratio.<p>
  
  The ratio is in the form 'width-height', for example '4-3' or '16-9'.
  In case no ratio was set, the pixel dimensions of the image are returned.<p>
  
  @return the image ratio